From f8220ff91c563d9af841640d684e47aa7cbc2ee8 Mon Sep 17 00:00:00 2001 From: Cyril Anisimov Date: Fri, 1 Nov 2024 22:33:28 +0100 Subject: [PATCH] fix crash on return with esc key --- client/ui/controllers/focusController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/ui/controllers/focusController.cpp b/client/ui/controllers/focusController.cpp index b5558f332..f206620de 100644 --- a/client/ui/controllers/focusController.cpp +++ b/client/ui/controllers/focusController.cpp @@ -213,7 +213,7 @@ void FocusController::nextItem(Direction direction) reload(direction); - if (m_lvfc) { + if (m_lvfc && isListView(m_focusedItem)) { direction == Direction::Forward ? focusNextListViewItem() : focusPreviousListViewItem(); qDebug() << "===>> Handling the [ ListView ]...";