Changed empty saved behavior
This commit is contained in:
parent
4f8e60ace2
commit
8b9119afa9
@ -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:
|
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)
|
self.frame_saves_object = FrameSaves(self, self.frame_saves_saves.json(), vscroll=True)
|
||||||
else:
|
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)
|
self.frame_saves_object.grid(column=1, row=0, sticky=NSEW)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user