macro_recorder: fix tab naming to be consistent with keycodes
parent
94ba5df315
commit
cc4df3f3f8
|
|
@ -232,7 +232,7 @@ class MacroRecorder(BasicEditor):
|
||||||
def update_tab_titles(self):
|
def update_tab_titles(self):
|
||||||
macros = self.keyboard.macro.split(b"\x00")
|
macros = self.keyboard.macro.split(b"\x00")
|
||||||
for x, w in enumerate(self.macro_tab_w[:self.keyboard.macro_count]):
|
for x, w in enumerate(self.macro_tab_w[:self.keyboard.macro_count]):
|
||||||
title = "Macro {}".format(x + 1)
|
title = "Macro {}".format(x)
|
||||||
if macros[x] != self.macro_tabs[x].serialize():
|
if macros[x] != self.macro_tabs[x].serialize():
|
||||||
title += "*"
|
title += "*"
|
||||||
self.tabs.setTabText(x, title)
|
self.tabs.setTabText(x, title)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue