don't use native dialog for schedule open

This commit is contained in:
AdamISZ 2019-10-22 22:21:49 +01:00
parent d421aea919
commit 02c2b4baad
No known key found for this signature in database
GPG key ID: 141001A1AF77F20B

View file

@ -356,7 +356,8 @@ class SpendTab(QWidget):
current_path = os.path.dirname(os.path.realpath(__file__))
firstarg = QFileDialog.getOpenFileName(self,
'Choose Schedule File',
directory=current_path)
directory=current_path,
options=QFileDialog.DontUseNativeDialog)
#TODO validate the schedule
log.debug('Looking for schedule in: ' + str(firstarg))
if not firstarg: