From 3d6c2113821b115b41427e64a6d75d73e7227e6f Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sat, 13 Jul 2019 10:18:38 +0200 Subject: [PATCH] Qt: fix app versions after a patch was removed from the game list --- rpcs3/rpcs3qt/game_list_frame.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/rpcs3/rpcs3qt/game_list_frame.cpp b/rpcs3/rpcs3qt/game_list_frame.cpp index 278bef4c41..07588f443d 100644 --- a/rpcs3/rpcs3qt/game_list_frame.cpp +++ b/rpcs3/rpcs3qt/game_list_frame.cpp @@ -908,15 +908,8 @@ void game_list_frame::ShowContextMenu(const QPoint &pos) } fs::remove_all(currGame.path); m_game_data.erase(std::remove(m_game_data.begin(), m_game_data.end(), gameinfo), m_game_data.end()); - 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); + Refresh(true); } }); connect(openGameFolder, &QAction::triggered, [=]()