VCS: Avoid setting other panes as active when has focus

Fixes: QTCREATORBUG-19972
Change-Id: I21dd33a5ba89ba6befe14aa80f28c2806915441a
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Orgad Shaneh
2018-11-18 23:00:41 +02:00
committed by Orgad Shaneh
parent 406371cd53
commit bd539f7f77

View File

@@ -353,16 +353,17 @@ void VcsOutputWindow::visibilityChanged(bool visible)
void VcsOutputWindow::setFocus() void VcsOutputWindow::setFocus()
{ {
d->widget.setFocus();
} }
bool VcsOutputWindow::hasFocus() const bool VcsOutputWindow::hasFocus() const
{ {
return false; return d->widget.hasFocus();
} }
bool VcsOutputWindow::canFocus() const bool VcsOutputWindow::canFocus() const
{ {
return false; return true;
} }
bool VcsOutputWindow::canNavigate() const bool VcsOutputWindow::canNavigate() const