From 59233595f62b6fd6766c003ef4f4872b782963e7 Mon Sep 17 00:00:00 2001 From: Ilya Zhuravlev Date: Mon, 11 Jan 2021 12:32:09 -0500 Subject: [PATCH] macro_recorder: shorten macro labels --- src/main/python/macro_recorder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/python/macro_recorder.py b/src/main/python/macro_recorder.py index 674009e..94daa3f 100644 --- a/src/main/python/macro_recorder.py +++ b/src/main/python/macro_recorder.py @@ -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)