From b44f8eb2ef0a9dec480d7d5f4ed7500b076c6d72 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Wed, 22 Apr 2009 21:17:49 +0000 Subject: [PATCH] * cosmetics git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29378 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiIndices.cpp | 3 +-- src/frontends/qt4/GuiPrint.cpp | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/frontends/qt4/GuiIndices.cpp b/src/frontends/qt4/GuiIndices.cpp index ef7632134a..fa8d6d8309 100644 --- a/src/frontends/qt4/GuiIndices.cpp +++ b/src/frontends/qt4/GuiIndices.cpp @@ -51,8 +51,7 @@ GuiIndices::GuiIndices(QWidget * parent) void GuiIndices::update(BufferParams const & params) { indiceslist_ = params.indiceslist(); - multipleIndicesCB->setChecked( - params.use_indices); + multipleIndicesCB->setChecked(params.use_indices); bool const state = params.use_indices; indicesTW->setEnabled(state); newIndexLE->setEnabled(state); diff --git a/src/frontends/qt4/GuiPrint.cpp b/src/frontends/qt4/GuiPrint.cpp index 9bf42817b1..32b3c8f564 100644 --- a/src/frontends/qt4/GuiPrint.cpp +++ b/src/frontends/qt4/GuiPrint.cpp @@ -144,9 +144,9 @@ void GuiPrint::updateContents() collateCB->setChecked(params_.sorted_copies); - if (params_.all_pages) { + if (params_.all_pages) allRB->setChecked(true); - } else { + else { rangeRB->setChecked(true); fromED->setText(QString::number(params_.from_page)); toED->setText(QString::number(params_.to_page)); -- 2.39.2