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

Fixed crash when selecting cardset without PIL.

This commit is contained in:
Joe R 2021-07-10 13:33:20 -04:00
parent 808382a7a1
commit bff44bebce

View file

@ -440,7 +440,7 @@ class SelectCardsetDialogWithPreview(MfxDialog):
names, columns = cs.getPreviewCardNames()
# if cardset has changed, set default values
if key != self.preview_key:
if key != self.preview_key and USE_PIL:
self.x_offset.config(value=cs.CARD_XOFFSET)
self.x_offset.set(cs.CARD_XOFFSET)