forked from qt-creator/qt-creator
CMake: Fix settings display not updated
Fixes: QTCREATORBUG-28267 Change-Id: Icf2fb7e5d7a8cd44d7a61ade36be41106aba2138 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -462,6 +462,7 @@ void CMakeToolItemConfigWidget::onBinaryPathEditingFinished()
|
||||
{
|
||||
updateQchFilePath();
|
||||
store();
|
||||
load(m_model->cmakeToolItem(m_id));
|
||||
}
|
||||
|
||||
void CMakeToolItemConfigWidget::updateQchFilePath()
|
||||
|
||||
@@ -295,6 +295,9 @@ CMakeTool::Version CMakeTool::version() const
|
||||
|
||||
QString CMakeTool::versionDisplay() const
|
||||
{
|
||||
if (m_executable.isEmpty())
|
||||
return {};
|
||||
|
||||
if (!isValid())
|
||||
return Tr::tr("Version not parseable");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user