mirror of https://github.com/stella-emu/stella.git
block keyboard directory navigation in files-only mode
This commit is contained in:
parent
2e2c870e38
commit
2252be4a86
|
@ -188,7 +188,7 @@ void FileListWidget::selectDirectory(const FSNode& node)
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
void FileListWidget::selectParent()
|
void FileListWidget::selectParent()
|
||||||
{
|
{
|
||||||
if(_node.hasParent())
|
if(_node.hasParent() && _fsmode != FSNode::ListMode::FilesOnly)
|
||||||
{
|
{
|
||||||
string name = _node.getName();
|
string name = _node.getName();
|
||||||
const FSNode parent(_node.getParent());
|
const FSNode parent(_node.getParent());
|
||||||
|
|
Loading…
Reference in New Issue