- 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

@@ -251,7 +251,9 @@ class AppTextEditor(QtWidgets.QWidget):
ext_filter=_filter_
)[0])
except TypeError:
filename = str(FCFileSaveDialog.get_saved_filename(caption=_("Export Code ..."), ext_filter=_filter_)[0])
filename = str(FCFileSaveDialog.get_saved_filename(
caption=_("Export Code ..."),
ext_filter=_filter_)[0])
if filename == "":
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Cancelled."))