From aeb0a27401599d7945aa12436a6fe9775c5c8d97 Mon Sep 17 00:00:00 2001 From: Uwe Kindler Date: Wed, 8 Jul 2020 08:10:27 +0200 Subject: [PATCH] Improved code documentation --- src/DockFocusController.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/DockFocusController.cpp b/src/DockFocusController.cpp index b4232a0..48feb56 100644 --- a/src/DockFocusController.cpp +++ b/src/DockFocusController.cpp @@ -226,7 +226,9 @@ void CDockFocusController::onApplicationFocusChanged(QWidget* focusedOld, QWidge } // If the close button in another tab steals the focus from the current - // active dock widget content, then we giv it back immediately + // active dock widget content, i.e. if the user clicks its close button, + // then we immediately give the focus back to the previous focused widget + // focusedOld if (CDockManager::testConfigFlag(CDockManager::AllTabsHaveCloseButton)) { auto OtherDockWidgetTab = internal::findParent(focusedNow);