Minor code changes for consistency

This commit is contained in:
Veronica K. B. Olsen
2021-02-20 13:40:26 +01:00
parent b868477406
commit c9cab47ce0
5 changed files with 10 additions and 13 deletions
+2 -2
View File
@@ -186,10 +186,10 @@ class GuiProjectLoad(QDialog):
logger.verbose("GuiProjectLoad browse button clicked")
extFilter = [
self.tr("novelWriter Project File ({0})").format(nwFiles.PROJ_FILE),
self.tr("All files ({0})").format("*.*"),
self.tr("All files ({0})").format("*"),
]
projFile, _ = QFileDialog.getOpenFileName(
self, self.tr("Open novelWriter Project"), "", filter=";;".join(extFilter)
self, self.tr("Open Project"), "", filter=";;".join(extFilter)
)
if projFile:
thePath = os.path.abspath(os.path.dirname(projFile))