59 |
59 |
60 self.vcsProjectDirEdit.setText( |
60 self.vcsProjectDirEdit.setText( |
61 Utilities.toNativeSeparators( |
61 Utilities.toNativeSeparators( |
62 Preferences.getMultiProject("Workspace") or |
62 Preferences.getMultiProject("Workspace") or |
63 Utilities.getHomeDir())) |
63 Utilities.getHomeDir())) |
|
64 |
|
65 self.largeCheckBox.setEnabled(self.vcs.isExtensionActive("largefiles")) |
|
66 |
|
67 self.resize(self.width(), self.minimumSizeHint().height()) |
64 |
68 |
65 @pyqtSlot() |
69 @pyqtSlot() |
66 def on_vcsUrlButton_clicked(self): |
70 def on_vcsUrlButton_clicked(self): |
67 """ |
71 """ |
68 Private slot to display a selection dialog. |
72 Private slot to display a selection dialog. |
133 if scheme == "file://" and url[0] not in ["\\", "/"]: |
137 if scheme == "file://" and url[0] not in ["\\", "/"]: |
134 url = "/{0}".format(url) |
138 url = "/{0}".format(url) |
135 vcsdatadict = { |
139 vcsdatadict = { |
136 "url": '{0}{1}'.format(scheme, url), |
140 "url": '{0}{1}'.format(scheme, url), |
137 "revision": self.vcsRevisionEdit.text(), |
141 "revision": self.vcsRevisionEdit.text(), |
|
142 "largefiles": self.largeCheckBox.isChecked(), |
138 } |
143 } |
139 return (self.vcsProjectDirEdit.text(), vcsdatadict) |
144 return (self.vcsProjectDirEdit.text(), vcsdatadict) |