Disable "Check for Updates" and "Download Mods" while the game is running
Signed-off-by: Gingeh <39150378+Gingeh@users.noreply.github.com>
This commit is contained in:
		| @@ -106,6 +106,13 @@ CoreModFolderPage::CoreModFolderPage(BaseInstance* inst, std::shared_ptr<ModFold | ||||
|     : ModFolderPage(inst, mods, parent) | ||||
| {} | ||||
|  | ||||
| void ModFolderPage::runningStateChanged(bool running) | ||||
| { | ||||
|     ExternalResourcesPage::runningStateChanged(running); | ||||
|     ui->actionDownloadItem->setEnabled(!running); | ||||
|     ui->actionUpdateItem->setEnabled(!running); | ||||
| } | ||||
|  | ||||
| bool ModFolderPage::shouldDisplay() const | ||||
| { | ||||
|     return true; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Gingeh
					Gingeh