Browse Source

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

tags/2021-05-28
stefan 8 years ago
parent
commit
4b96ffbf6f
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      extras/Projucer/Source/LiveBuildEngine/projucer_CompileEngineClient.cpp

+ 2
- 1
extras/Projucer/Source/LiveBuildEngine/projucer_CompileEngineClient.cpp 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()


Loading…
Cancel
Save