forked from metin-server/m2dev-client
ML: Fixed HotReload and RTL/LTR integration for UI Arabic
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user