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