From: Pavel Sanda Date: Tue, 7 Sep 2010 19:26:01 +0000 (+0000) Subject: Fix part of #6880 X-Git-Tag: 2.0.0~2654 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=59a2c46ae9e33adbaf53397ae2beb8018f3ffdc6;p=features.git Fix part of #6880 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35325 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiCompare.cpp b/src/frontends/qt4/GuiCompare.cpp index e19f41b78c..2867ae7c99 100644 --- a/src/frontends/qt4/GuiCompare.cpp +++ b/src/frontends/qt4/GuiCompare.cpp @@ -63,9 +63,6 @@ GuiCompare::GuiCompare(GuiView & lv) newSettingsRB->setChecked(true); - progressBar->setValue(0); - progressBar->setEnabled(false); - closePB->setCursor(Qt::ArrowCursor); bc().setPolicy(ButtonPolicy::OkApplyCancelPolicy); @@ -327,6 +324,11 @@ bool GuiCompare::initialiseParams(std::string const &par) newFileCB->setEditText(toqstr(cmd.getArg(2))); slotOK(); } + + progressBar->setValue(0); + progressBar->setEnabled(false); + progressBar->setMaximum(100); + return true; }