mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
Fixed a few Projucer UI issues
This commit is contained in:
parent
fa0b097652
commit
ed51317ee6
6 changed files with 54 additions and 64 deletions
|
|
@ -1244,6 +1244,9 @@ void ProjectContentComponent::setBuildEnabled (bool b)
|
|||
LiveBuildProjectSettings::setBuildDisabled (*project, ! b);
|
||||
killChildProcess();
|
||||
refreshTabsIfBuildStatusChanged();
|
||||
|
||||
if (auto* h = dynamic_cast<HeaderComponent*> (header.get()))
|
||||
h->updateBuildButtons (b, isContinuousRebuildEnabled());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1382,10 +1385,17 @@ bool ProjectContentComponent::isContinuousRebuildEnabled()
|
|||
|
||||
void ProjectContentComponent::setContinuousRebuildEnabled (bool b)
|
||||
{
|
||||
getAppSettings().getGlobalProperties().setValue ("continuousRebuild", b);
|
||||
|
||||
if (childProcess != nullptr)
|
||||
{
|
||||
childProcess->setContinuousRebuild (b);
|
||||
|
||||
if (auto* h = dynamic_cast<HeaderComponent*> (header.get()))
|
||||
h->updateBuildButtons (isBuildEnabled(), b);
|
||||
|
||||
getAppSettings().getGlobalProperties().setValue ("continuousRebuild", b);
|
||||
|
||||
ProjucerApplication::getCommandManager().commandStatusChanged();
|
||||
}
|
||||
}
|
||||
|
||||
ReferenceCountedObjectPtr<CompileEngineChildProcess> ProjectContentComponent::getChildProcess()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue