Plugins/VcsPlugins/vcsMercurial/HgNewProjectOptionsDialog.py

changeset 3366
6084bb3c3911
parent 3334
a75328ebac64
child 3484
645c12de6b0c
equal deleted inserted replaced
3364:5dafcc891579 3366:6084bb3c3911
70 self.largeCheckBox.setVisible(self.vcs.isExtensionActive("largefiles")) 70 self.largeCheckBox.setVisible(self.vcs.isExtensionActive("largefiles"))
71 71
72 self.resize(self.width(), self.minimumSizeHint().height()) 72 self.resize(self.width(), self.minimumSizeHint().height())
73 73
74 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) 74 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False)
75
76 msh = self.minimumSizeHint()
77 self.resize(max(self.width(), msh.width()), msh.height())
75 78
76 @pyqtSlot(str) 79 @pyqtSlot(str)
77 def on_vcsProjectDirEdit_textChanged(self, txt): 80 def on_vcsProjectDirEdit_textChanged(self, txt):
78 """ 81 """
79 Private slot to handle a change of the project directory. 82 Private slot to handle a change of the project directory.

eric ide

mercurial