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