mirror of
https://github.com/libretro/stella2023.git
synced 2024-11-23 17:10:01 +00:00
added a tweak which allows searching for ROM names containing a space without starting the ROMs
This commit is contained in:
parent
4a4a039404
commit
8d6862062b
@ -353,6 +353,8 @@ bool FileListWidget::handleKeyDown(StellaKey key, StellaMod mod)
|
||||
_lastKey = key; _lastMod = mod;
|
||||
if(_quickSelectTime < TimerManager::getTicks() / 1000)
|
||||
_firstMod = mod;
|
||||
else if(key == KBDK_SPACE) // allow seaching strings with a space without selecting/starting
|
||||
handled = true;
|
||||
|
||||
return handled;
|
||||
}
|
||||
@ -429,6 +431,7 @@ void FileListWidget::handleCommand(CommandSender* sender, int cmd, int data, int
|
||||
break;
|
||||
|
||||
case ListWidget::kActivatedCmd:
|
||||
[[fallthrough]];
|
||||
case ListWidget::kDoubleClickedCmd:
|
||||
_selected = data;
|
||||
if(isDirectory(selected())/* || !selected().exists()*/)
|
||||
|
Loading…
Reference in New Issue
Block a user