2263 """ |
2263 """ |
2264 Public method to add files to a new project. |
2264 Public method to add files to a new project. |
2265 |
2265 |
2266 @param mainscript name of the mainscript (string) |
2266 @param mainscript name of the mainscript (string) |
2267 """ |
2267 """ |
|
2268 # Show the file type associations for the user to change |
|
2269 self.__showFiletypeAssociations() |
|
2270 |
2268 QApplication.setOverrideCursor(QCursor(Qt.WaitCursor)) |
2271 QApplication.setOverrideCursor(QCursor(Qt.WaitCursor)) |
2269 QApplication.processEvents() |
2272 QApplication.processEvents() |
2270 |
2273 |
2271 # search the project directory for files with known extensions |
2274 # search the project directory for files with known extensions |
2272 filespecs = list(self.pdata["FILETYPES"].keys()) |
2275 filespecs = list(self.pdata["FILETYPES"].keys()) |