summaryrefslogtreecommitdiff
path: root/src/plugins/python/pythonrunconfiguration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/python/pythonrunconfiguration.cpp')
-rw-r--r--src/plugins/python/pythonrunconfiguration.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/python/pythonrunconfiguration.cpp b/src/plugins/python/pythonrunconfiguration.cpp
index 41386ef611..8af7e2f1b2 100644
--- a/src/plugins/python/pythonrunconfiguration.cpp
+++ b/src/plugins/python/pythonrunconfiguration.cpp
@@ -204,9 +204,7 @@ void InterpreterAspect::addToLayout(LayoutBuilder &builder)
Core::ICore::showOptionsDialog(Constants::C_PYTHONOPTIONS_PAGE_ID);
});
- builder.addItem(tr("Interpreter"));
- builder.addItem(m_comboBox.data());
- builder.addItem(manageButton);
+ builder.addItems(tr("Interpreter"), m_comboBox.data(), manageButton);
}
void InterpreterAspect::updateCurrentInterpreter()