base_panel: simplify action bar buttons enable-disable

This commit is contained in:
alfrix
2022-11-21 08:50:12 -03:00
parent 7b7c3838fc
commit d0d79a64df
29 changed files with 67 additions and 73 deletions

View File

@@ -116,7 +116,7 @@ class KlipperScreen(Gtk.Window):
self.init_style()
self.set_icon_from_file(os.path.join(klipperscreendir, "styles", "icon.svg"))
self.base_panel = BasePanel(self, title="Base Panel", back=False)
self.base_panel = BasePanel(self, title="Base Panel")
self.add(self.base_panel.get())
self.show_all()
if show_cursor: