GUI: Update PySimpleGUI, see #62

This commit is contained in:
deajan 2024-07-23 10:21:17 +02:00
parent 57ec05d92f
commit e1f11ec821

View file

@ -484,9 +484,11 @@ _change_log = """
Fixed docstring for execute_command_subprocess. The command description was incorrect Fixed docstring for execute_command_subprocess. The command description was incorrect
4.61.0.206 4.61.0.206
New Udemy Coupon code New Udemy Coupon code
NPF 2024-04-25 NPF 2024-04-25
Disable upgrade api call Disable upgrade api call
NPF 2024-07-23
Add a try except block around refresh_debugger() for Nuitka compilation
""" """
__version__ = version.split()[0] # For PEP 396 and PEP 345 __version__ = version.split()[0] # For PEP 396 and PEP 345
@ -24727,6 +24729,7 @@ def _refresh_debugger():
# frame = inspect.currentframe() # frame = inspect.currentframe()
# frame = inspect.currentframe().f_back # frame = inspect.currentframe().f_back
try:
frame, *others = inspect.stack()[1] frame, *others = inspect.stack()[1]
try: try:
debugger.locals = frame.f_back.f_locals debugger.locals = frame.f_back.f_locals
@ -24739,6 +24742,8 @@ def _refresh_debugger():
rc = debugger._refresh_main_debugger_window(debugger.locals, debugger.globals) rc = debugger._refresh_main_debugger_window(debugger.locals, debugger.globals)
Window._read_call_from_debugger = False Window._read_call_from_debugger = False
return rc return rc
except:
return None
def _debugger_window_is_open(): def _debugger_window_is_open():
@ -27001,6 +27006,7 @@ if _mac_should_set_alpha_to_99():
#__perform_upgrade_check() #__perform_upgrade_check()
# -------------------------------- ENTRY POINT IF RUN STANDALONE -------------------------------- # # -------------------------------- ENTRY POINT IF RUN STANDALONE -------------------------------- #
if __name__ == '__main__': if __name__ == '__main__':
# To execute the upgrade from command line, type: # To execute the upgrade from command line, type: