GUI: Disable opening XML report file when checking files.

This commit is contained in:
Kimmo Varis 2010-07-12 02:18:26 +03:00
parent 801afae88b
commit 75f6ca5b66
1 changed files with 2 additions and 0 deletions

View File

@ -230,6 +230,7 @@ void MainWindow::DoCheckFiles(const QStringList &files)
mSettings->setValue(SETTINGS_CHECK_PATH, absDirectory); mSettings->setValue(SETTINGS_CHECK_PATH, absDirectory);
EnableCheckButtons(false); EnableCheckButtons(false);
mUI.mActionSettings->setEnabled(false); mUI.mActionSettings->setEnabled(false);
mUI.mActionOpenXML->setEnabled(false);
mUI.mResults->SetCheckDirectory(absDirectory); mUI.mResults->SetCheckDirectory(absDirectory);
@ -390,6 +391,7 @@ void MainWindow::CheckDone()
mUI.mResults->CheckingFinished(); mUI.mResults->CheckingFinished();
EnableCheckButtons(true); EnableCheckButtons(true);
mUI.mActionSettings->setEnabled(true); mUI.mActionSettings->setEnabled(true);
mUI.mActionOpenXML->setEnabled(true);
if (mUI.mResults->HasResults()) if (mUI.mResults->HasResults())
{ {
mUI.mActionClearResults->setEnabled(true); mUI.mActionClearResults->setEnabled(true);