Skip to content

Commit 99a5c66

Browse files
committed
fix main window rebuild issue
1 parent 22a17ff commit 99a5c66

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/main/python/main_window.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,10 @@ def on_tab_changed(self, index):
412412
old_tab.editor.deactivate()
413413
if new_tab is not None:
414414
new_tab.editor.activate()
415+
if new_tab.editor == self.keymap_editor:
416+
new_tab.editor.rebuild(self.autorefresh.current_device)
417+
415418
self.current_tab = new_tab
416-
self.rebuild()
417419

418420
def about_vial(self):
419421
title = "About Vial"

0 commit comments

Comments
 (0)