Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
afa9da2a
Commit
afa9da2a
authored
Nov 03, 2009
by
dt
Browse files
Also save before running if Project::hasNoBuildSettings
Fixes a QML bug Reviewed-by:
Kai Koehne
<
kai.koehne@nokia.com
>
parent
a44e33ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/projectexplorer.cpp
View file @
afa9da2a
...
...
@@ -1554,7 +1554,9 @@ void ProjectExplorerPlugin::runProjectImpl(Project *pro)
d
->
m_buildManager
->
buildProjects
(
projects
,
configurations
(
projects
));
}
}
else
{
executeRunConfiguration
(
pro
->
activeRunConfiguration
(),
ProjectExplorer
::
Constants
::
RUNMODE
);
// TODO this ignores RunConfiguration::isEnabled()
if
(
saveModifiedFiles
())
executeRunConfiguration
(
pro
->
activeRunConfiguration
(),
ProjectExplorer
::
Constants
::
RUNMODE
);
}
}
...
...
@@ -1579,7 +1581,9 @@ void ProjectExplorerPlugin::debugProject()
updateRunAction
();
}
}
else
{
executeRunConfiguration
(
pro
->
activeRunConfiguration
(),
ProjectExplorer
::
Constants
::
DEBUGMODE
);
// TODO this ignores RunConfiguration::isEnabled()
if
(
saveModifiedFiles
())
executeRunConfiguration
(
pro
->
activeRunConfiguration
(),
ProjectExplorer
::
Constants
::
DEBUGMODE
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment