mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
MainWindow, Config: Minor change.
This commit is contained in:
1 parent
e7099bfb86
commit
adc7736306
2 files changed
+2
-2
No files matched your search
@@ -229,7 +229,7 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||
"", "Pamhyr(*.pamhyr)"
|
||||
)
|
||||
|
||||
if file_name[-4:] == ".pamhyr":
|
||||
if file_name.rsplit(".", 1)[-1] == "pamhyr":
|
||||
self.model.filename = file_name
|
||||
else:
|
||||
self.model.filename = file_name + ".pamhyr"
|
||||
|
||||
+1
-1
@@ -218,7 +218,7 @@ class Config(SQL):
|
||||
self.backup_max = 10
|
||||
|
||||
# Editor
|
||||
self.editor = "emacs @file"
|
||||
self.editor = "editor @file"
|
||||
|
||||
# Languages
|
||||
self.lang = ""
|
||||
|
||||
Reference in new issue
Block a user