macro_recorder: fix tab naming to be consistent with keycodes

main
Ilya Zhuravlev 2020-12-25 14:28:05 -05:00
parent 94ba5df315
commit cc4df3f3f8
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ class MacroRecorder(BasicEditor):
def update_tab_titles(self):
macros = self.keyboard.macro.split(b"\x00")
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():
title += "*"
self.tabs.setTabText(x, title)