Register some more windows

So they get an entry in the Window menu, and window related shortcuts
are registered correctly.

Change-Id: Ie7e882a009f928f1268fdd312e7fb5362f6a837f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Eike Ziller
2022-02-07 09:53:19 +01:00
parent 035b8aa5f7
commit 3c1a87290e
5 changed files with 6 additions and 0 deletions

View File

@@ -1715,6 +1715,7 @@ void GitPluginPrivate::branchList()
void GitPluginPrivate::manageRemotes()
{
showNonModalDialog(currentState().topLevel(), m_remoteDialog);
ICore::registerWindow(m_remoteDialog, Context("Git.Remotes"));
}
void GitPluginPrivate::initRepository()
@@ -1725,6 +1726,7 @@ void GitPluginPrivate::initRepository()
void GitPluginPrivate::stashList()
{
showNonModalDialog(currentState().topLevel(), m_stashDialog);
ICore::registerWindow(m_stashDialog, Context("Git.Stashes"));
}
void GitPluginPrivate::updateActions(VcsBasePluginPrivate::ActionState as)