macro_recorder: shorten macro labels

main
Ilya Zhuravlev 2021-01-11 12:32:09 -05:00
parent 898a157f6d
commit 59233595f6
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,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)
title = "M{}".format(x)
if macros[x] != self.macro_tabs[x].serialize():
title += "*"
self.tabs.setTabText(x, title)