Merge pull request #59 from CutestNekoAqua/bug-35
This commit is contained in:
commit
3bb1068ef0
@ -103,10 +103,6 @@ void ExternalResourcesPage::runningStateChanged(bool running)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
m_controlsEnabled = !running;
|
m_controlsEnabled = !running;
|
||||||
ui->actionAddItem->setEnabled(m_controlsEnabled);
|
|
||||||
ui->actionDisableItem->setEnabled(m_controlsEnabled);
|
|
||||||
ui->actionEnableItem->setEnabled(m_controlsEnabled);
|
|
||||||
ui->actionRemoveItem->setEnabled(m_controlsEnabled);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ExternalResourcesPage::shouldDisplay() const
|
bool ExternalResourcesPage::shouldDisplay() const
|
||||||
|
@ -117,6 +117,10 @@ void ModFolderPage::runningStateChanged(bool running)
|
|||||||
ExternalResourcesPage::runningStateChanged(running);
|
ExternalResourcesPage::runningStateChanged(running);
|
||||||
ui->actionDownloadItem->setEnabled(!running);
|
ui->actionDownloadItem->setEnabled(!running);
|
||||||
ui->actionUpdateItem->setEnabled(!running);
|
ui->actionUpdateItem->setEnabled(!running);
|
||||||
|
ui->actionAddItem->setEnabled(!running);
|
||||||
|
ui->actionEnableItem->setEnabled(!running);
|
||||||
|
ui->actionDisableItem->setEnabled(!running);
|
||||||
|
ui->actionRemoveItem->setEnabled(!running);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ModFolderPage::shouldDisplay() const
|
bool ModFolderPage::shouldDisplay() const
|
||||||
|
Loading…
Reference in New Issue
Block a user