Project/AddFileDialog.py

changeset 3366
6084bb3c3911
parent 3220
05609c8fb7a8
child 3484
645c12de6b0c
equal deleted inserted replaced
3364:5dafcc891579 3366:6084bb3c3911
54 self.filetypes = pro.pdata["FILETYPES"] 54 self.filetypes = pro.pdata["FILETYPES"]
55 # save a reference to the filetypes dict 55 # save a reference to the filetypes dict
56 56
57 if self.filter is not None: 57 if self.filter is not None:
58 self.sourcecodeCheckBox.hide() 58 self.sourcecodeCheckBox.hide()
59
60 msh = self.minimumSizeHint()
61 self.resize(max(self.width(), msh.width()), msh.height())
59 62
60 @pyqtSlot() 63 @pyqtSlot()
61 def on_targetDirButton_clicked(self): 64 def on_targetDirButton_clicked(self):
62 """ 65 """
63 Private slot to display a directory selection dialog. 66 Private slot to display a directory selection dialog.

eric ide

mercurial