diff options
| author | Peter Penz <[email protected]> | 2008-12-16 18:37:02 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-12-16 18:37:02 +0000 |
| commit | 94ef8919bf196c134706d2ed71f9fadaec68838b (patch) | |
| tree | a9a91993fd291902d2430fe10ffb40ccc2d020a4 /src/dolphinview.cpp | |
| parent | 04f6e7b374a312f8edaaca3d652b29dbb7d107ea (diff) | |
Assure that the view gets focused when:
* Enter or Ctrl+Enter is pressed in the URL navigator
* when the filter bar gets closed
BUG: 158232
svn path=/trunk/KDE/kdebase/apps/; revision=897739
Diffstat (limited to 'src/dolphinview.cpp')
| -rw-r--r-- | src/dolphinview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 969da773d..b1c0bf743 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -1253,6 +1253,7 @@ void DolphinView::createView() Q_ASSERT(view != 0); view->installEventFilter(this); view->viewport()->installEventFilter(this); + setFocusProxy(view); if (m_mode != ColumnView) { // Give the view the ability to auto-expand its directories on hovering @@ -1315,6 +1316,7 @@ void DolphinView::deleteView() // before deleting the view: Otherwise when having a split // view the other view will get the focus and will request // an activation (see DolphinView::eventFilter()). + setFocusProxy(0); setFocus(); m_topLayout->removeWidget(view); |
