mirror of https://gitlab.com/pamhyr/pamhyr2
MainWindow, Config: Minor change.
parent
e7099bfb86
commit
adc7736306
|
|
@ -229,7 +229,7 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||||
"", "Pamhyr(*.pamhyr)"
|
"", "Pamhyr(*.pamhyr)"
|
||||||
)
|
)
|
||||||
|
|
||||||
if file_name[-4:] == ".pamhyr":
|
if file_name.rsplit(".", 1)[-1] == "pamhyr":
|
||||||
self.model.filename = file_name
|
self.model.filename = file_name
|
||||||
else:
|
else:
|
||||||
self.model.filename = file_name + ".pamhyr"
|
self.model.filename = file_name + ".pamhyr"
|
||||||
|
|
|
||||||
|
|
@ -218,7 +218,7 @@ class Config(SQL):
|
||||||
self.backup_max = 10
|
self.backup_max = 10
|
||||||
|
|
||||||
# Editor
|
# Editor
|
||||||
self.editor = "emacs @file"
|
self.editor = "editor @file"
|
||||||
|
|
||||||
# Languages
|
# Languages
|
||||||
self.lang = ""
|
self.lang = ""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue