screenpanel remove unnecesary getters

This commit is contained in:
alfrix committed 2022-11-22 14:55:42 -03:00
1 parent b415eca1c8
commit ef5f86a67d
3 files changed
+12 -24

No files matched your search

+2 -2
View File
@@ -200,8 +200,8 @@ class BasePanel(ScreenPanel):
def add_content(self, panel):
self.current_panel = panel
self.set_title(panel.get_title())
self.content.add(panel.get_content())
self.set_title(panel.title)
self.content.add(panel.content)
def back(self, widget=None):
if self.current_panel is None: