browser: do nothing if space is pressed and parent dir is highlighted
This commit is contained in:
@@ -132,7 +132,7 @@ void Browser::SpacePressed()
|
||||
return;
|
||||
}
|
||||
|
||||
if (w->Empty())
|
||||
if (w->Empty() || (itsBrowsedDir != "/" && w->Choice() == 0 /* parent dir */))
|
||||
return;
|
||||
|
||||
const Item &item = w->Current();
|
||||
|
||||
Reference in New Issue
Block a user