Changed empty saved behavior

This commit is contained in:
Profitroll 2023-01-27 12:18:10 +01:00
parent 4f8e60ace2
commit 8b9119afa9

View File

@ -74,7 +74,7 @@ class App(ThemedTk):
if self.frame_saves_saves.status_code == 200 and isinstance(self.frame_saves_saves.json(), list) is True and len(self.frame_saves_saves.json()) > 0:
self.frame_saves_object = FrameSaves(self, self.frame_saves_saves.json(), vscroll=True)
else:
self.frame_saves_object = FrameSavesEmpty(self)
self.frame_saves_object = FrameSaves(self, [], vscroll=True)
self.frame_saves_object.grid(column=1, row=0, sticky=NSEW)
return