mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-26 04:32:35 +01:00
Qt: streamline game removal in game list and fix followed item selection
This commit is contained in:
parent
9a1c0e4577
commit
e43afa7148
@ -597,7 +597,14 @@ void game_list_frame::ShowContextMenu(const QPoint &pos)
|
||||
}
|
||||
fs::remove_all(currGame.path);
|
||||
m_game_data.erase(m_game_data.begin() + index);
|
||||
Refresh();
|
||||
if (m_isListLayout)
|
||||
{
|
||||
m_gameList->removeRow(m_gameList->currentItem()->row());
|
||||
}
|
||||
else
|
||||
{
|
||||
Refresh();
|
||||
}
|
||||
LOG_SUCCESS(GENERAL, "Removed %s %s in %s", currGame.category, currGame.name, currGame.path);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user