mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Fix addition of new formats
Regression at cb0a4c66
This commit is contained in:
parent
fb264663d8
commit
3233a822f3
@ -1989,7 +1989,7 @@ void PrefFileformats::updateView()
|
||||
defaultFormatCB->clear();
|
||||
defaultOTFFormatCB->clear();
|
||||
form_->formats().sort();
|
||||
for (Format const & f : formats) {
|
||||
for (Format const & f : form_->formats()) {
|
||||
QString const prettyname = toqstr(translateIfPossible(f.prettyname()));
|
||||
formatsCB->addItem(prettyname,
|
||||
QVariant(form_->formats().getNumber(f.name())));
|
||||
|
Loading…
x
Reference in New Issue
Block a user