Validate in Windows
This commit is contained in:
parent
475840d7e8
commit
54b2ed7913
Binary file not shown.
|
@ -274,7 +274,7 @@ class Controllers(object):
|
|||
def cmd_shell_action(self, event):
|
||||
if app.IS_WIN:
|
||||
cmd = '"{}"'.format(self.path_python)
|
||||
app.open_file(cmd)
|
||||
app.paths.open(cmd)
|
||||
else:
|
||||
cmd = 'exec "{}"'
|
||||
if app.IS_MAC:
|
||||
|
@ -286,7 +286,6 @@ class Controllers(object):
|
|||
app.run(cmd)
|
||||
return
|
||||
|
||||
@app.catch_exception
|
||||
def cmd_explore_action(self, event):
|
||||
path = app.paths.get_file(filters='txt')
|
||||
if not path:
|
||||
|
@ -389,7 +388,7 @@ def _create_dialog():
|
|||
'Width': 60,
|
||||
'Height': BUTTON_WH,
|
||||
'Step': 10,
|
||||
'ImageURL': 'install.png',
|
||||
'ImageURL': 'install.svg',
|
||||
'ImagePosition': 1,
|
||||
}
|
||||
dialog.add_control(args)
|
||||
|
|
Loading…
Reference in New Issue