mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
toc and secnum depths were swapped
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6556 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1829cdef6a
commit
47fe3ce6c8
@ -1,3 +1,7 @@
|
||||
2003-03-21 John Levon <levon@movementarian.org>
|
||||
|
||||
* QDocument.C: fix swapping of TOC and secnum depth
|
||||
|
||||
2003-03-15 John Levon <levon@movementarian.org>
|
||||
|
||||
* QMathDialog.C: "Sans serif" not "San serif"
|
||||
|
@ -223,9 +223,9 @@ void QDocument::apply()
|
||||
params.language = languages.getLanguage(lang_[pos]);
|
||||
|
||||
// numbering
|
||||
params.secnumdepth =
|
||||
dialog_->numberingModule->tocDepthSB->value();
|
||||
params.tocdepth =
|
||||
dialog_->numberingModule->tocDepthSB->value();
|
||||
params.secnumdepth =
|
||||
dialog_->numberingModule->sectionnrDepthSB->value();
|
||||
|
||||
// bullets
|
||||
@ -461,9 +461,9 @@ void QDocument::update_contents()
|
||||
|
||||
// numbering
|
||||
dialog_->numberingModule->tocDepthSB->setValue(
|
||||
params.secnumdepth);
|
||||
dialog_->numberingModule->sectionnrDepthSB->setValue(
|
||||
params.tocdepth);
|
||||
dialog_->numberingModule->sectionnrDepthSB->setValue(
|
||||
params.secnumdepth);
|
||||
|
||||
// bullets
|
||||
dialog_->bulletsModule->setBullet(0,params.user_defined_bullets[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user