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);
EnableCheckButtons(false);
mUI.mActionSettings->setEnabled(false);
mUI.mActionOpenXML->setEnabled(false);
mUI.mResults->SetCheckDirectory(absDirectory);
@ -390,6 +391,7 @@ void MainWindow::CheckDone()
mUI.mResults->CheckingFinished();
EnableCheckButtons(true);
mUI.mActionSettings->setEnabled(true);
mUI.mActionOpenXML->setEnabled(true);
if (mUI.mResults->HasResults())
{
mUI.mActionClearResults->setEnabled(true);