]> git.lyx.org Git - lyx.git/commitdiff
Fix part of #6880
authorPavel Sanda <sanda@lyx.org>
Tue, 7 Sep 2010 19:26:01 +0000 (19:26 +0000)
committerPavel Sanda <sanda@lyx.org>
Tue, 7 Sep 2010 19:26:01 +0000 (19:26 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35325 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiCompare.cpp

index e19f41b78ce407e937589205f207d04255c6a77a..2867ae7c99a3898441ab714be57c3c14663564ae 100644 (file)
@@ -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;
 }