forked from qt-creator/qt-creator
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:
committed by
Orgad Shaneh
parent
406371cd53
commit
bd539f7f77
@@ -353,16 +353,17 @@ void VcsOutputWindow::visibilityChanged(bool visible)
|
||||
|
||||
void VcsOutputWindow::setFocus()
|
||||
{
|
||||
d->widget.setFocus();
|
||||
}
|
||||
|
||||
bool VcsOutputWindow::hasFocus() const
|
||||
{
|
||||
return false;
|
||||
return d->widget.hasFocus();
|
||||
}
|
||||
|
||||
bool VcsOutputWindow::canFocus() const
|
||||
{
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool VcsOutputWindow::canNavigate() const
|
||||
|
Reference in New Issue
Block a user