diff options
author | David Schulz <david.schulz@qt.io> | 2023-03-10 10:26:56 +0100 |
---|---|---|
committer | David Schulz <david.schulz@qt.io> | 2023-03-27 08:13:14 +0000 |
commit | eb8c996f49b462f4a26c7b243a098569ac13542a (patch) | |
tree | 4c5b2bbd968acb013e6220f6e3fa8ce2822e48ca /src/plugins/python/pythoneditor.cpp | |
parent | 3afe94777c9a359a01de93a40bfed15144601770 (diff) | |
download | qt-creator-eb8c996f49b462f4a26c7b243a098569ac13542a.tar.gz |
Python: add create venv option to the wizard
and optimize layouting
Fixes: PYSIDE-2152
Change-Id: If3ecb76c4bac885840f54fd382471ac22a06dee3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/plugins/python/pythoneditor.cpp')
-rw-r--r-- | src/plugins/python/pythoneditor.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/python/pythoneditor.cpp b/src/plugins/python/pythoneditor.cpp index 42771fc91a..ca6b606616 100644 --- a/src/plugins/python/pythoneditor.cpp +++ b/src/plugins/python/pythoneditor.cpp @@ -251,11 +251,11 @@ void PythonEditorWidget::updateInterpretersSelector() if (self && venvInterpreter) self->setUserDefinedPython(*venvInterpreter); }; - PythonSettings::createVirtualEnvironment(self->textDocument() - ->filePath() - .parentDir(), - *currentInterpreter, - callback); + PythonSettings::createVirtualEnvironmentInteractive(self->textDocument() + ->filePath() + .parentDir(), + *currentInterpreter, + callback); }); } auto settingsAction = menu->addAction(Tr::tr("Manage Python Interpreters")); |