Browse Source

Don't require qtapp in download dialog

master
Nils 3 years ago
parent
commit
0fa65e7164
  1. 3
      qtgui/chooseDownloadDirectory.py

3
qtgui/chooseDownloadDirectory.py

@ -40,10 +40,9 @@ from qtgui.resources import * #Has the logo
class ChooseDownloadDirectory(QtWidgets.QDialog):
def __init__(self, qtApp):
def __init__(self):
super().__init__() #no parent, this is the top level window at this time.
self.qtApp = qtApp
self.setModal(True) #block until closed
self.ui = Ui_ChooseDownloadDirectory()
self.ui.setupUi(self)

Loading…
Cancel
Save