mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: made build panel UI update when signing out
This commit is contained in:
parent
1182aecf00
commit
bc58656153
4 changed files with 7 additions and 7 deletions
|
|
@ -769,11 +769,11 @@ void ProjucerApplication::timerCallback()
|
|||
showLoginForm();
|
||||
}
|
||||
|
||||
void ProjucerApplication::updateBuildEnabledSetting()
|
||||
void ProjucerApplication::updateAllBuildTabs()
|
||||
{
|
||||
for (int i = 0; i < mainWindowList.windows.size(); ++i)
|
||||
if (ProjectContentComponent* p = mainWindowList.windows.getUnchecked(i)->getProjectContentComponent())
|
||||
p->refreshTabsIfBuildStatusChanged();
|
||||
p->rebuildProjectTabs();
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
|
|
@ -786,7 +786,7 @@ void ProjucerApplication::loginOrLogout()
|
|||
else
|
||||
showLoginForm();
|
||||
|
||||
updateBuildEnabledSetting();
|
||||
updateAllBuildTabs();
|
||||
}
|
||||
|
||||
bool ProjucerApplication::currentEULAHasBeenAcceptedPreviously() const
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ public:
|
|||
void showLoginForm();
|
||||
void hideLoginForm();
|
||||
|
||||
void updateBuildEnabledSetting();
|
||||
void updateAllBuildTabs();
|
||||
LatestVersionChecker* createVersionChecker() const;
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
|
|
@ -265,7 +265,7 @@ private:
|
|||
cancelButton.setEnabled (true);
|
||||
registerButton.setEnabled (true);
|
||||
|
||||
ProjucerApplication::getApp().updateBuildEnabledSetting();
|
||||
ProjucerApplication::getApp().updateAllBuildTabs();
|
||||
}
|
||||
|
||||
void loginSuccess (const String& username, const String& apiKey) override
|
||||
|
|
@ -276,7 +276,7 @@ private:
|
|||
if (DialogWindow* parentDialog = findParentComponentOfClass<DialogWindow>())
|
||||
{
|
||||
parentDialog->exitModalState (0);
|
||||
ProjucerApplication::getApp().updateBuildEnabledSetting();
|
||||
ProjucerApplication::getApp().updateAllBuildTabs();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -405,7 +405,7 @@ struct ProjucerDisabledComp : public Component,
|
|||
else if (btn == signOutButton.get())
|
||||
{
|
||||
ProjucerLicences::getInstance()->logout();
|
||||
ProjucerApplication::getApp().updateBuildEnabledSetting();
|
||||
ProjucerApplication::getApp().updateAllBuildTabs();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue