diff --git a/src/citra_qt/citra_qt.cpp b/src/citra_qt/citra_qt.cpp index e2f5997ae..cd3c54765 100644 --- a/src/citra_qt/citra_qt.cpp +++ b/src/citra_qt/citra_qt.cpp @@ -2564,6 +2564,7 @@ void GMainWindow::UninstallTitles( } else if (!future_watcher.isCanceled()) { QMessageBox::information(this, tr("Azahar"), tr("Successfully uninstalled '%1'.").arg(first_name)); + emit InstalledTitlesChanged(); } } diff --git a/src/citra_qt/citra_qt.h b/src/citra_qt/citra_qt.h index df580ad0f..5e9cae6c6 100644 --- a/src/citra_qt/citra_qt.h +++ b/src/citra_qt/citra_qt.h @@ -151,6 +151,7 @@ signals: void InfoLEDColorChanged(); // Signal that tells widgets to update icons to use the current theme void UpdateThemedIcons(); + void InstalledTitlesChanged(); private: void InitializeWidgets(); diff --git a/src/citra_qt/game_list.cpp b/src/citra_qt/game_list.cpp index f34753ca7..18238893b 100644 --- a/src/citra_qt/game_list.cpp +++ b/src/citra_qt/game_list.cpp @@ -379,6 +379,8 @@ GameList::GameList(PlayTime::PlayTimeManager& play_time_manager_, GMainWindow* p item_model->setSortRole(GameListItemPath::SortRole); connect(main_window, &GMainWindow::UpdateThemedIcons, this, &GameList::OnUpdateThemedIcons); + connect(main_window, &GMainWindow::InstalledTitlesChanged, this, + &GameList::RefreshGameDirectory); connect(tree_view, &QTreeView::activated, this, &GameList::ValidateEntry); connect(tree_view, &QTreeView::customContextMenuRequested, this, &GameList::PopupContextMenu); connect(tree_view, &QTreeView::expanded, this, &GameList::OnItemExpanded);