forked from CreatBot/CreatBotKlipperScreen
panels: remove initialize from the panels that do not have a menu
This commit is contained in:
@@ -11,7 +11,8 @@ def create_panel(*args):
|
||||
|
||||
|
||||
class ExamplePanel(ScreenPanel):
|
||||
def initialize(self, panel_name):
|
||||
def __init__(self, screen, title, back=True):
|
||||
super().__init__(screen, title, back)
|
||||
|
||||
# Create gtk items here
|
||||
|
||||
|
Reference in New Issue
Block a user