1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-15 02:54:09 -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: else:
root.wm_minsize(520, 360) root.wm_minsize(520, 360)
if TOOLKIT == 'gtk': if TOOLKIT == 'tk' and USE_TILE:
pass
if TOOLKIT == 'kivy':
pass
elif USE_TILE:
theme = app.opt.tile_theme theme = app.opt.tile_theme
init_tile(app, root) init_tile(app, root)
set_theme(app, root, theme) set_theme(app, root, theme)
else:
pass
class BaseTkSettings: class BaseTkSettings: