We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b86fc60 commit 4802016Copy full SHA for 4802016
src/ManualClient.py
@@ -226,7 +226,11 @@ def run_gui(self):
226
self.ui_task = asyncio.create_task(self.ui.async_run(), name="UI")
227
228
def make_gui(self) -> typing.Type["kvui.GameManager"]:
229
- ui = super().make_gui() # before the kivy imports so kvui gets loaded first
+ if hasattr(SuperContext, "make_gui"):
230
+ ui = super().make_gui() # before the kivy imports so kvui gets loaded first
231
+ else:
232
+ from kvui import GameManager
233
+ ui = GameManager
234
235
from kivy.metrics import dp
236
from kivy.uix.button import Button
0 commit comments