98 |
98 |
99 @param txt current text of the URL edit (string) |
99 @param txt current text of the URL edit (string) |
100 """ |
100 """ |
101 self.__updateButtonEnable() |
101 self.__updateButtonEnable() |
102 |
102 |
103 if self.remotesComboBox.currentText() == self.__custom and \ |
103 if ( |
104 txt != "": |
104 self.remotesComboBox.currentText() == self.__custom and |
|
105 txt != "" |
|
106 ): |
105 remoteBranches = self.__vcs.gitGetRemoteBranchesList( |
107 remoteBranches = self.__vcs.gitGetRemoteBranchesList( |
106 self.__repodir, txt) |
108 self.__repodir, txt) |
107 self.remoteBranchesList.clear() |
109 self.remoteBranchesList.clear() |
108 self.remoteBranchesList.addItems(sorted(remoteBranches)) |
110 self.remoteBranchesList.addItems(sorted(remoteBranches)) |
109 |
111 |