diff options
| author | Rafał Lichwała <[email protected]> | 2025-10-28 11:11:22 +0100 |
|---|---|---|
| committer | Rafał Lichwała <[email protected]> | 2025-10-28 13:59:27 +0100 |
| commit | 19401a315f963223d973188a8e47c4ccbd783232 (patch) | |
| tree | 3d1bf0e96c201ef8eef606ce53163d3c14a4a011 /src/dolphintabwidget.cpp | |
| parent | 71bdbb87dde6ea6255b687af255ead75691d95c5 (diff) | |
Fix lost focus on closed tab
When last viewed tab was in split mode, closing current tab did not activate it properly. In that case focus was lost and there was no possibility to get it again even on mouse click.
Diffstat (limited to 'src/dolphintabwidget.cpp')
| -rw-r--r-- | src/dolphintabwidget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dolphintabwidget.cpp b/src/dolphintabwidget.cpp index 73b128dd2..a25f92338 100644 --- a/src/dolphintabwidget.cpp +++ b/src/dolphintabwidget.cpp @@ -516,6 +516,7 @@ void DolphinTabWidget::tabRemoved(int index) QTabWidget::tabRemoved(index); Q_EMIT tabCountChanged(count()); + m_lastViewedTab->setActive(true); } QString DolphinTabWidget::tabName(DolphinTabPage *tabPage) const |
