RELEASE 3.4.0
This commit is contained in:
parent
9db96fd10f
commit
92bafa24f0
18 changed files with 101 additions and 77 deletions
|
@ -40,9 +40,9 @@ from binascii import hexlify
|
|||
sg.ChangeLookAndFeel('GreenTan')
|
||||
|
||||
if len(sys.argv) == 1:
|
||||
rc, fname = sg.GetFileBox('PDF Browser', 'PDF file to open', file_types=(("PDF Files", "*.pdf"),))
|
||||
rc, fname = sg.PopupGetFile('PDF Browser', 'PDF file to open', file_types=(("PDF Files", "*.pdf"),))
|
||||
if rc is False:
|
||||
sg.MsgBoxCancel('Cancelling')
|
||||
sg.PopupCancel('Cancelling')
|
||||
exit(0)
|
||||
else:
|
||||
fname = sys.argv[1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue