Commit f2937dc4 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Unify read-only path choosers in Build & Run settings



Change-Id: I56725255380eed83de6dd1c0f07d4b6e63e48b75
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 881632c3
......@@ -159,7 +159,7 @@ void DebuggerItemConfigWidget::setItem(const DebuggerItem &item)
m_displayNameLineEdit->setEnabled(!item.isAutoDetected());
m_displayNameLineEdit->setText(item.displayName());
m_binaryChooser->setEnabled(!item.isAutoDetected());
m_binaryChooser->setReadOnly(item.isAutoDetected());
m_binaryChooser->setFileName(item.command());
QString text;
......
......@@ -919,7 +919,7 @@ bool GccToolChainConfigWidget::isDirtyImpl() const
void GccToolChainConfigWidget::makeReadOnlyImpl()
{
m_compilerCommand->setEnabled(false);
m_compilerCommand->setReadOnly(true);
m_abiWidget->setEnabled(false);
m_platformCodeGenFlagsLineEdit->setEnabled(false);
m_platformLinkerFlagsLineEdit->setEnabled(false);
......
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