mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-08 04:20:09 +00:00
Fixed a bug in the Projucer where the live-build's continuous recompilation state wasn't being changed when toggled on/off in the menu
This commit is contained in:
parent
7d6e5f8d73
commit
308f634f62
2 changed files with 15 additions and 2 deletions
|
|
@ -1563,6 +1563,19 @@ void ProjectContentComponent::timerCallback()
|
|||
refreshTabsIfBuildStatusChanged();
|
||||
}
|
||||
|
||||
bool ProjectContentComponent::isContinuousRebuildEnabled()
|
||||
{
|
||||
return getAppSettings().getGlobalProperties().getBoolValue ("continuousRebuild", true);
|
||||
}
|
||||
|
||||
void ProjectContentComponent::setContinuousRebuildEnabled (bool b)
|
||||
{
|
||||
getAppSettings().getGlobalProperties().setValue ("continuousRebuild", b);
|
||||
|
||||
if (childProcess != nullptr)
|
||||
childProcess->setContinuousRebuild (b);
|
||||
}
|
||||
|
||||
ReferenceCountedObjectPtr<CompileEngineChildProcess> ProjectContentComponent::getChildProcess()
|
||||
{
|
||||
if (childProcess == nullptr && isBuildEnabled())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue