From 19401a315f963223d973188a8e47c4ccbd783232 Mon Sep 17 00:00:00 2001 From: Rafał Lichwała Date: Tue, 28 Oct 2025 11:11:22 +0100 Subject: 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. --- src/dolphintabwidget.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dolphintabwidget.cpp') 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 -- cgit v1.3