forked from qt-creator/qt-creator
VCS: Do not focus on the pane every time it becomes visible
Fixes: QTCREATORBUG-24425 Change-Id: I727913eeeae34e6d656bfc5b17a737c5bcbffe88 Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
committed by
Orgad Shaneh
parent
4b6a6acc4e
commit
7e4364fb70
@@ -363,12 +363,6 @@ void VcsOutputWindow::clearContents()
|
||||
d->widget.clear();
|
||||
}
|
||||
|
||||
void VcsOutputWindow::visibilityChanged(bool visible)
|
||||
{
|
||||
if (visible)
|
||||
d->widget.setFocus();
|
||||
}
|
||||
|
||||
void VcsOutputWindow::setFocus()
|
||||
{
|
||||
d->widget.setFocus();
|
||||
|
@@ -46,7 +46,6 @@ public:
|
||||
int priorityInStatusBar() const override;
|
||||
|
||||
void clearContents() override;
|
||||
void visibilityChanged(bool visible) override;
|
||||
|
||||
void setFocus() override;
|
||||
bool hasFocus() const override;
|
||||
|
Reference in New Issue
Block a user