Commit b844ef43 authored by Eike Ziller's avatar Eike Ziller

Avoid raising the main window after loading project

This is especially annoying when starting Qt Creator with a session or
project from the command line.
ModeManager::setFocusToCurrentMode() should really only set the focus.
Callers that also want to raise the main window (none at the moment)
should do that explicitly.

Change-Id: Ib9c3026184bd25a6e2cd4bb557bd9981ce91d569
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
Reviewed-by: default avatarNiels Weber <niels.weber@digia.com>
parent 1abcf0fb
......@@ -321,7 +321,6 @@ void ModeManager::setFocusToCurrentMode()
if (!focusWidget)
focusWidget = widget;
focusWidget->setFocus();
ICore::raiseWindow(focusWidget);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment