Skip to content

Commit c0bd489

Browse files
authored
Merge pull request pyfa-org#2085 from Gochim/master
Possible fix for pyfa-org#2084
2 parents f778f9c + 41e4c21 commit c0bd489

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gui/copySelectDialog.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def __init__(self, parent):
7474
continue
7575
defaultFormatOptions[formatId] = {opt[0]: opt[3] for opt in formatOptions}
7676

77-
self.settings = SettingsProvider.getInstance().getSettings("pyfaExport", {"format": 0, "options": defaultFormatOptions})
77+
self.settings = SettingsProvider.getInstance().getSettings("pyfaExport", {"format": self.copyFormatEft, "options": defaultFormatOptions})
7878
# Options used to be stored as int (EFT export options only),
7979
# overwrite them with new format when needed
8080
if isinstance(self.settings["options"], int):
@@ -83,6 +83,7 @@ def __init__(self, parent):
8383
self.options = {}
8484

8585
initialized = False
86+
self.copyFormat = self.copyFormatEft
8687
for formatName, formatData in self.copyFormats.items():
8788
formatId, formatOptions = formatData
8889
if not initialized:

0 commit comments

Comments
 (0)