From cafe2acbcf8c8539a50b6a5e40699829990a5d4f Mon Sep 17 00:00:00 2001 From: thrust26 Date: Fri, 5 Jan 2024 22:39:36 +0100 Subject: [PATCH] block keyboard directory navigation in files-only mode --- src/gui/FileListWidget.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/FileListWidget.cxx b/src/gui/FileListWidget.cxx index 1f5950e32..a4d9aa847 100644 --- a/src/gui/FileListWidget.cxx +++ b/src/gui/FileListWidget.cxx @@ -188,7 +188,7 @@ void FileListWidget::selectDirectory(const FSNode& node) // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void FileListWidget::selectParent() { - if(_node.hasParent()) + if(_node.hasParent() && _fsmode != FSNode::ListMode::FilesOnly) { string name = _node.getName(); const FSNode parent(_node.getParent());