mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Bugfix if settings directory doesn't exist (#432)
* bugfix if settings directory doesnt exist * Create directories in persistency --------- Co-authored-by: Raffson <Raffson@users.noreply.github.com>
This commit is contained in:
@@ -818,8 +818,6 @@ class AirWingConfigurationDialog(QDialog):
|
||||
|
||||
def save_config(self) -> None:
|
||||
awd = airwing_dir()
|
||||
if not awd.exists():
|
||||
awd.mkdir()
|
||||
fd = QFileDialog(
|
||||
caption="Save Air Wing", directory=str(awd), filter="*.yaml;*.yml"
|
||||
)
|
||||
@@ -876,8 +874,6 @@ class AirWingConfigurationDialog(QDialog):
|
||||
return
|
||||
|
||||
awd = airwing_dir()
|
||||
if not awd.exists():
|
||||
awd.mkdir()
|
||||
fd = QFileDialog(
|
||||
caption="Load Air Wing", directory=str(awd), filter="*.yaml;*.yml"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user