89 path = Utilities.toNativeSeparators(path) |
89 path = Utilities.toNativeSeparators(path) |
90 if path.startswith(self.__projectPath): |
90 if path.startswith(self.__projectPath): |
91 path = path.replace(self.__projectPath, "")[1:] |
91 path = path.replace(self.__projectPath, "")[1:] |
92 self.pathEdit.setText(path) |
92 self.pathEdit.setText(path) |
93 else: |
93 else: |
94 E5MessageBox.critical(self, |
94 E5MessageBox.critical( |
|
95 self, |
95 self.trUtf8("Add Sub-repository"), |
96 self.trUtf8("Add Sub-repository"), |
96 self.trUtf8("""The sub-repository path must be inside""" |
97 self.trUtf8("""The sub-repository path must be inside""" |
97 """ the project.""")) |
98 """ the project.""")) |
98 return |
99 return |
99 |
100 |