1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

cleanup the last commit

Merge an identical if/else and indent comments
This commit is contained in:
Shlomi Fish 2020-10-19 15:00:24 +03:00
parent c6811cca29
commit 934db8da3b

View file

@ -336,9 +336,6 @@ class SelectCardsetDialogWithPreview(MfxDialog):
MfxDialog.destroy(self)
def initKw(self, kw):
if USE_PIL:
s = (_("&Info..."), 10)
else:
s = (_("&Info..."), 10)
kw = KwStruct(kw,
strings=(s, 'sep',
@ -531,8 +528,6 @@ class CardsetInfoDialog(MfxDialog):
except Exception:
pass
# cut out sliders
row += 1
# bg = top_frame["bg"]
@ -562,5 +557,3 @@ class CardsetInfoDialog(MfxDialog):
focus = self.createButtons(bottom_frame, kw)
# focus = text_w
self.mainloop(focus, kw.timeout)
# cut out buttons