Commit 2ebb4081 authored by Daniel Teske's avatar Daniel Teske Committed by Tobias Hunger

CMake: Fix working directory of runconfigurations

On updating the working directory ensure that changes triggered from
the cmakerunconfiguration are not interpreted as the user changing.

Task-number: QTCREATORBUG-8426
Change-Id: Ibe6d026d864e1af48b01b5c81db9ad7c7fb6be2b
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 3247ecf7
......@@ -414,8 +414,11 @@ void CMakeRunConfigurationWidget::setWorkingDirectory()
void CMakeRunConfigurationWidget::workingDirectoryChanged(const QString &workingDirectory)
{
if (!m_ignoreChange)
if (!m_ignoreChange) {
m_ignoreChange = true;
m_workingDirectoryEdit->setPath(workingDirectory);
m_ignoreChange = false;
}
}
void CMakeRunConfigurationWidget::resetWorkingDirectory()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment