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:
parent
c6811cca29
commit
934db8da3b
1 changed files with 4 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue