mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
bugs 854, bug 855
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6016 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1d1669c331
commit
eb74119baf
@ -1,3 +1,9 @@
|
||||
2003-02-02 John Levon <levon@movementarian.org>
|
||||
|
||||
* QPrefs.C: apply formats first (bug 854)
|
||||
* QPrefsDialog.C: make sure a formats/converters item
|
||||
is always selected (bug 855)
|
||||
|
||||
2003-01-31 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* Qt2Base.[Ch]: instantiate the isVisible() virtual method.
|
||||
|
@ -261,8 +261,8 @@ void QPrefs::apply()
|
||||
controller().updateScreenFonts();
|
||||
}
|
||||
|
||||
controller().setConverters(converters_);
|
||||
controller().setFormats(formats_);
|
||||
controller().setConverters(converters_);
|
||||
|
||||
QPrefColorsModule * colmod(dialog_->colorsModule);
|
||||
|
||||
|
@ -357,6 +357,9 @@ void QPrefsDialog::updateConverters()
|
||||
ccit->To->prettyname());
|
||||
convertmod->convertersLB->insertItem(toqstr(name));
|
||||
}
|
||||
|
||||
if (convertmod->convertersLB->currentItem() == -1)
|
||||
convertmod->convertersLB->setCurrentItem(0);
|
||||
}
|
||||
|
||||
|
||||
@ -423,6 +426,9 @@ void QPrefsDialog::updateFormats()
|
||||
for (; cit != end; ++cit) {
|
||||
formatmod->formatsLB->insertItem(toqstr(cit->prettyname()));
|
||||
}
|
||||
|
||||
if (formatmod->formatsLB->currentItem() == -1)
|
||||
formatmod->formatsLB->setCurrentItem(0);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user