forked from qt-creator/qt-creator
CMake: Fix generator kit information widget
Display was resetting to Ninja generator. Change-Id: Iee39b40da85a5df1140d5880d674e104eed85ca3 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -241,6 +241,7 @@ void CMakeGeneratorKitConfigWidget::refresh()
|
||||
|
||||
CMakeTool *const tool = CMakeKitInformation::cmakeTool(m_kit);
|
||||
if (tool != m_currentTool) {
|
||||
m_currentTool = tool;
|
||||
m_comboBox->clear();
|
||||
m_comboBox->addItem(tr("<Use Default Generator>"), QString());
|
||||
if (tool && tool->isValid()) {
|
||||
|
||||
Reference in New Issue
Block a user