Skip to content

Commit

Permalink
exportdialog: don't double-set data
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmattkc committed Oct 6, 2022
1 parent 0eadea8 commit 5420cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/dialog/export/export.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 5420cea

Please sign in to comment.