mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Fix SelectGameDialogWithPreview.
This commit is contained in:
parent
c3a8a52543
commit
80268cfac8
3 changed files with 7 additions and 1 deletions
|
@ -80,6 +80,9 @@ class PysolMenubarTk(PysolMenubarTkCommon):
|
|||
def _calcSelectGameDialog(self):
|
||||
return SelectGameDialog
|
||||
|
||||
def _calcSelectGameDialogWithPreview(self):
|
||||
return SelectGameDialogWithPreview
|
||||
|
||||
def _calcSoundOptionsDialog(self):
|
||||
return SoundOptionsDialog
|
||||
|
||||
|
|
|
@ -71,6 +71,9 @@ class PysolMenubarTk(PysolMenubarTkCommon):
|
|||
def _calcSelectGameDialog(self):
|
||||
return SelectGameDialog
|
||||
|
||||
def _calcSelectGameDialogWithPreview(self):
|
||||
return SelectGameDialogWithPreview
|
||||
|
||||
def _calcSoundOptionsDialog(self):
|
||||
return SoundOptionsDialog
|
||||
|
||||
|
|
|
@ -808,7 +808,7 @@ class PysolMenubarTkCommon:
|
|||
bookmark = self.game.gsaveinfo.bookmarks[-2][0]
|
||||
del self.game.gsaveinfo.bookmarks[-2]
|
||||
after_idle(self.top, self.__restoreCursor)
|
||||
d = SelectGameDialogWithPreview(self.top, title=_("Select game"),
|
||||
d = self._calcSelectGameDialogWithPreview()(self.top, title=_("Select game"),
|
||||
app=self.app, gameid=self.game.id,
|
||||
bookmark=bookmark)
|
||||
return self._mSelectGameDialog(d)
|
||||
|
|
Loading…
Add table
Reference in a new issue