- temporary fix for comboboxes not finding the the value in the items when setting themselves with a value by defaulting to the first item in the list

This commit is contained in:
Marius Stanciu
2020-10-28 15:46:33 +02:00
committed by Marius
parent 9c97ce49b9
commit 86a931ace5
10 changed files with 80 additions and 36 deletions

View File

@@ -232,7 +232,9 @@ class Film(AppTool):
directory=self.app.get_last_save_folder() + '/' + name + '_film',
ext_filter=filter_ext)
except TypeError:
filename, _f = FCFileSaveDialog.get_saved_filename(caption=_("Export positive film"))
filename, _f = FCFileSaveDialog.get_saved_filename(
caption=_("Export positive film"),
ext_filter=filter_ext)
filename = str(filename)
@@ -378,7 +380,9 @@ class Film(AppTool):
directory=self.app.get_last_save_folder() + '/' + name + '_film',
ext_filter=filter_ext)
except TypeError:
filename, _f = FCFileSaveDialog.get_saved_filename(caption=_("Export negative film"))
filename, _f = FCFileSaveDialog.get_saved_filename(
caption=_("Export negative film"),
ext_filter=filter_ext)
filename = str(filename)