1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-20 01:14:20 +00:00

Projucer: restrict menu item "Launch Application" to GUIApplication projects

This commit is contained in:
stefan 2016-09-22 12:38:36 +01:00
parent a0350e4ee6
commit 4b96ffbf6f

View file

@ -605,7 +605,8 @@ bool CompileEngineChildProcess::canLaunchApp() const
return process != nullptr
&& runningAppProcess == nullptr
&& activityList.getNumActivities() == 0
&& errorList.getNumErrors() == 0;
&& errorList.getNumErrors() == 0
&& project.getProjectType().isGUIApplication();
}
void CompileEngineChildProcess::launchApp()