Hide the plugin download button on the main menu after downloading it.

This commit is contained in:
Henrik Rydgard committed 2013-06-26 21:26:44 +02:00
1 parent 3c02678dff
commit d01b0ea6a6
2 files changed
+6

No files matched your search

+5
View File
@@ -188,6 +188,11 @@ MenuScreen::MenuScreen() : frames_(0) {
showAtracShortcut_ = g_Config.bFirstRun && !Atrac3plus_Decoder::IsInstalled();
}
void MenuScreen::dialogFinished(const Screen *dialog, DialogResult result) {
showAtracShortcut_ = showAtracShortcut_ && !Atrac3plus_Decoder::IsInstalled();
}
void MenuScreen::update(InputState &input_state) {
globalUIState = UISTATE_MENU;
frames_++;