- 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

@@ -519,7 +519,9 @@ class QRCode(AppTool):
directory=self.app.get_last_save_folder() + '/' + str(name) + '_png',
ext_filter=_filter)
except TypeError:
filename, _f = FCFileSaveDialog.get_saved_filename(caption=_("Export PNG"), ext_filter=_filter)
filename, _f = FCFileSaveDialog.get_saved_filename(
caption=_("Export PNG"),
ext_filter=_filter)
filename = str(filename)
@@ -566,7 +568,9 @@ class QRCode(AppTool):
directory=self.app.get_last_save_folder() + '/' + str(name) + '_svg',
ext_filter=_filter)
except TypeError:
filename, _f = FCFileSaveDialog.get_saved_filename(caption=_("Export SVG"), ext_filter=_filter)
filename, _f = FCFileSaveDialog.get_saved_filename(
caption=_("Export SVG"),
ext_filter=_filter)
filename = str(filename)