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:
John Levon 2003-03-21 14:31:48 +00:00
parent 1829cdef6a
commit 47fe3ce6c8
2 changed files with 8 additions and 4 deletions

View File

@ -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"

View File

@ -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]);