mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-29 02:40:05 +00:00
Projucer: Don't steal focus when live-build errors occur
This commit is contained in:
parent
9e74c7ce6b
commit
bd99e27f91
1 changed files with 0 additions and 9 deletions
|
|
@ -874,15 +874,6 @@ void CompileEngineChildProcess::handleClassListChanged (const ValueTree& newList
|
|||
|
||||
void CompileEngineChildProcess::handleBuildFailed()
|
||||
{
|
||||
auto* mcm = ModalComponentManager::getInstance();
|
||||
auto* pcc = findProjectContentComponent();
|
||||
|
||||
if (mcm->getNumModalComponents() > 0 || pcc == nullptr || pcc->getCurrentTabIndex() == 1)
|
||||
return;
|
||||
|
||||
if (errorList.getNumErrors() > 0)
|
||||
ProjucerApplication::getCommandManager().invokeDirectly (CommandIDs::showBuildTab, true);
|
||||
|
||||
ProjucerApplication::getCommandManager().commandStatusChanged();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue