exportdialog: don't double-set data

This commit is contained in:
itsmattkc
2022-10-06 09:47:04 -07:00
parent 0eadea8607
commit 5420ceaa6f
+1 -1
View File
@@ -259,7 +259,7 @@ ExportDialog::ExportDialog(ViewerOutput *viewer_node, bool stills_only_mode, QWi
// If the viewer already has cached params, use them
if (!stills_only_mode_ && viewer_node_->GetLastUsedEncodingParams().IsValid()) {
SetParams(viewer_node_->GetLastUsedEncodingParams());
// This will automatically set the param data
QtUtils::SetComboBoxData(preset_combobox_, kPresetLastUsed);
} else {
SetDefaults();