82 |
82 |
83 @pyqtSlot(str) |
83 @pyqtSlot(str) |
84 def on_protocolCombo_activated(self, protocol): |
84 def on_protocolCombo_activated(self, protocol): |
85 """ |
85 """ |
86 Private slot to switch the status of the directory selection button. |
86 Private slot to switch the status of the directory selection button. |
|
87 |
|
88 @param protocol selected protocol (string) |
87 """ |
89 """ |
88 if protocol == "file://": |
90 if protocol == "file://": |
89 self.networkPath = self.vcsUrlEdit.text() |
91 self.networkPath = self.vcsUrlEdit.text() |
90 self.vcsUrlEdit.setText(self.localPath) |
92 self.vcsUrlEdit.setText(self.localPath) |
91 self.vcsUrlLabel.setText(self.trUtf8("Pat&h:")) |
93 self.vcsUrlLabel.setText(self.trUtf8("Pat&h:")) |