GuiCitation: consider filter on dialog creation (#12869)

This commit is contained in:
Juergen Spitzmueller 2023-08-11 12:04:26 +02:00
parent 4676a50944
commit a03c442a62

View File

@ -826,6 +826,10 @@ void GuiCitation::init()
buttonBox->button(QDialogButtonBox::Apply)->setEnabled(false);
buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false);
// apply filter
if (!filter_->text().isEmpty())
findText(filter_->text(), true);
}