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:
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:
|
||||
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:
|
||||
|
|
Loading…
Add table
Reference in a new issue