diff options
author | Eike Ziller <eike.ziller@theqtcompany.com> | 2015-01-05 11:12:39 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@theqtcompany.com> | 2015-01-05 16:04:52 +0100 |
commit | 225e599c94333484ba42f6365e28201546ff164a (patch) | |
tree | 31c7eb39b2326b2a3f3fd4d4e8bab792298bedce /src/plugins/vcsbase | |
parent | 98dbe9adcadd0aff01b7f8eb08f1cef97b01f001 (diff) | |
download | qt-creator-225e599c94333484ba42f6365e28201546ff164a.tar.gz |
Register wizard windows so they appear in window list and get shortcuts
Change-Id: I69b3a49ba2e2162585502a523be835918b7b9533
Task-number: QTCREATORBUG-13766
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src/plugins/vcsbase')
-rw-r--r-- | src/plugins/vcsbase/basecheckoutwizardfactory.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/vcsbase/basecheckoutwizardfactory.cpp b/src/plugins/vcsbase/basecheckoutwizardfactory.cpp index 88c46edc24..aa9d600d72 100644 --- a/src/plugins/vcsbase/basecheckoutwizardfactory.cpp +++ b/src/plugins/vcsbase/basecheckoutwizardfactory.cpp @@ -31,6 +31,8 @@ #include "basecheckoutwizardfactory.h" #include "basecheckoutwizard.h" +#include <coreplugin/icontext.h> +#include <coreplugin/icore.h> #include <coreplugin/featureprovider.h> #include <projectexplorer/projectexplorer.h> @@ -86,6 +88,7 @@ void BaseCheckoutWizardFactory::runWizard(const QString &path, QWidget *parent, { QScopedPointer<BaseCheckoutWizard> wizard(m_wizardCreator(Utils::FileName::fromString(path), parent)); wizard->setWindowTitle(displayName()); + Core::ICore::registerWindow(wizard.data(), Core::Context("New.CheckoutWizard")); checkoutPath = wizard->run(); } |