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());