ML: Fixed HotReload and RTL/LTR integration for UI Arabic

This commit is contained in:
rtw1x1
2026-02-18 20:00:05 +00:00
parent 5e5e49f048
commit c9052deb4d
16 changed files with 670 additions and 657 deletions

View File

@@ -39,7 +39,9 @@ class PopupDialog(ui.ScriptWindow):
PythonScriptLoader = ui.PythonScriptLoader()
PythonScriptLoader.LoadScriptFile(self, "UIScript/PopupDialog.py")
def Open(self, Message, event = 0, ButtonName = localeInfo.UI_CANCEL):
def Open(self, Message, event = 0, ButtonName = None):
if ButtonName is None:
ButtonName = localeInfo.UI_CANCEL
if True == self.IsShow():
self.Close()