mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-11-07 17:36:00 +00:00
Update sandbox.py
This commit is contained in:
parent
4b6169dc1b
commit
57cdced2e4
1 changed files with 2 additions and 1 deletions
|
|
@ -5344,7 +5344,8 @@ class TexturePicker(popup.PopupWindow):
|
||||||
def ok(s, index):
|
def ok(s, index):
|
||||||
global THE_TB
|
global THE_TB
|
||||||
bui.containerwidget(edit=s.root_widget, transition=anim_out)
|
bui.containerwidget(edit=s.root_widget, transition=anim_out)
|
||||||
bui.textwidget(edit=THE_TB, text=all_texture[index])
|
try: bui.textwidget(edit=THE_TB, text=all_texture[index])
|
||||||
|
except TypeError: pass # NoneType
|
||||||
|
|
||||||
def on_popup_cancel(s) -> None:
|
def on_popup_cancel(s) -> None:
|
||||||
bui.getsound('swish').play()
|
bui.getsound('swish').play()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue