From 3a3fea96d854a154eccfb860b63f7d7a5215bcf6 Mon Sep 17 00:00:00 2001 From: Alfredo Monclus Date: Tue, 17 Feb 2026 08:13:54 -0300 Subject: [PATCH] refactor: change default value for side shortcut to false new users can find it overwhelming, and even some very experienced users i've talked to never touch this for those reasons disabled by default make sense --- ks_includes/config.py | 2 +- panels/base_panel.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ks_includes/config.py b/ks_includes/config.py index 65f7461e..156ca1e8 100644 --- a/ks_includes/config.py +++ b/ks_includes/config.py @@ -280,7 +280,7 @@ class KlipperScreenConfig: "value": "True"}}, {"side_macro_shortcut": { "section": "main", "name": _("Macro shortcut on sidebar"), "type": "binary", - "value": "True", "callback": screen.toggle_shortcut}}, + "value": "False", "callback": screen.toggle_shortcut}}, {"font_size": { "section": "main", "name": _("Font Size"), "type": "dropdown", "tooltip": _("Inversely affects the icon size"), diff --git a/panels/base_panel.py b/panels/base_panel.py index a1244c42..705feb11 100644 --- a/panels/base_panel.py +++ b/panels/base_panel.py @@ -339,7 +339,7 @@ class BasePanel(ScreenPanel): def show_shortcut(self, show=True): show = ( show - and self._config.get_main_config().getboolean('side_macro_shortcut', True) + and self._config.get_main_config().getboolean('side_macro_shortcut', False) and self._printer.get_printer_status_data()["printer"]["gcode_macros"]["count"] > 0 and self._screen._cur_panels[-1] != 'printer_select' )