qt_gui: Refreshing game list after install directory change

The game list wasn't being refreshed automaticly after a manual directory change on the QT GUI,  now the RefreshGameTable will be called after the GameInstallDialog is executed.
This commit is contained in:
SamuelFontes 2024-08-08 15:57:43 -03:00
parent 81be8f270f
commit 7e5cc6162c
1 changed files with 1 additions and 0 deletions

View File

@ -583,6 +583,7 @@ void MainWindow::InstallDragDropPkg(std::filesystem::path file, int pkgNum, int
void MainWindow::InstallDirectory() { void MainWindow::InstallDirectory() {
GameInstallDialog dlg; GameInstallDialog dlg;
dlg.exec(); dlg.exec();
RefreshGameTable();
} }
void MainWindow::SetLastUsedTheme() { void MainWindow::SetLastUsedTheme() {