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

Invoke init_tile() only when tile is used

This commit is contained in:
Juhani Numminen 2020-03-11 21:50:43 +02:00
parent 0be465dea1
commit 12601364dc

View file

@ -106,16 +106,10 @@ def base_init_root_window(root, app):
else:
root.wm_minsize(520, 360)
if TOOLKIT == 'gtk':
pass
if TOOLKIT == 'kivy':
pass
elif USE_TILE:
if TOOLKIT == 'tk' and USE_TILE:
theme = app.opt.tile_theme
init_tile(app, root)
set_theme(app, root, theme)
else:
pass
class BaseTkSettings: