mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Fixed upgrade message
This commit is contained in:
parent
baa5400672
commit
6973f850d7
1 changed files with 1 additions and 1 deletions
|
|
@ -757,7 +757,7 @@ void Project::updateLicenseWarning()
|
|||
ProjectMessages::MessageAction action;
|
||||
auto currentLicenseState = ProjucerApplication::getApp().getLicenseController().getCurrentState();
|
||||
|
||||
if (! currentLicenseState.canUnlockFullFeatures() || currentLicenseState.isOldLicense())
|
||||
if (currentLicenseState.isSignedIn() && (! currentLicenseState.canUnlockFullFeatures() || currentLicenseState.isOldLicense()))
|
||||
action = { "Upgrade", [] { URL ("https://juce.com/get-juce").launchInDefaultBrowser(); } };
|
||||
else
|
||||
action = { "Sign in", [this] { ProjucerApplication::getApp().mainWindowList.getMainWindowForFile (getFile())->showLoginFormOverlay(); } };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue