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:
parent
0be465dea1
commit
12601364dc
1 changed files with 1 additions and 7 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue