Upload files to 'UI'
This commit is contained in:
parent
ae196afd98
commit
d3b2ca3cff
1 changed files with 6 additions and 0 deletions
|
@ -33,6 +33,12 @@ def roundrect(layer, win, x, y, width, height, r, button=False, icon=False,
|
|||
|
||||
#if not current url in the software
|
||||
if url and url != win.url:
|
||||
|
||||
# So icons would not disappear LOL
|
||||
if icon:
|
||||
image(layer, win, "settings/themes/"\
|
||||
+win.settings["Theme"]+"/icons/"+icon+".png", x, y)
|
||||
|
||||
return
|
||||
|
||||
# If UI testing is on preview. Buttons.
|
||||
|
|
Loading…
Reference in a new issue