mirror of https://github.com/stella-emu/stella.git
fixed selecting of last ROM when list is reloaded
This commit is contained in:
parent
ce78129297
commit
3ee02e6958
|
@ -184,11 +184,6 @@ void FileListWidget::selectParent()
|
|||
void FileListWidget::reload()
|
||||
{
|
||||
if(isDirectory(_node))
|
||||
{
|
||||
_selectedFile = selected().getName();
|
||||
setLocation(_node, _selectedFile);
|
||||
}
|
||||
else if(_node.exists())
|
||||
{
|
||||
_selectedFile = _showFileExtensions
|
||||
? selected().getName()
|
||||
|
@ -318,8 +313,8 @@ const FileListWidget::Icon* FileListWidget::getIcon(int i) const
|
|||
static const Icon unknown_small = {
|
||||
0b00111111'1100000,
|
||||
0b00100000'0110000,
|
||||
0b00100000'0011000,
|
||||
0b00100000'0001100,
|
||||
0b00100000'0111000,
|
||||
0b00100000'0111100,
|
||||
0b00100000'0000100,
|
||||
0b00100000'0000100,
|
||||
0b00100000'0000100,
|
||||
|
|
Loading…
Reference in New Issue