panels: allow to call them without name
This commit is contained in:
@@ -7,6 +7,7 @@ from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
class Panel(ScreenPanel):
|
||||
def __init__(self, screen, title):
|
||||
title = title or _("Example")
|
||||
super().__init__(screen, title)
|
||||
|
||||
# Create gtk items here
|
||||
|
Reference in New Issue
Block a user