From 7e5cc6162cfa5ff951bee48d440d0834fa8a7461 Mon Sep 17 00:00:00 2001
From: SamuelFontes <samuguel@hotmail.com.br>
Date: Thu, 8 Aug 2024 15:57:43 -0300
Subject: [PATCH] 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.
---
 src/qt_gui/main_window.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/qt_gui/main_window.cpp b/src/qt_gui/main_window.cpp
index 29d7c15f..646433ee 100644
--- a/src/qt_gui/main_window.cpp
+++ b/src/qt_gui/main_window.cpp
@@ -583,6 +583,7 @@ void MainWindow::InstallDragDropPkg(std::filesystem::path file, int pkgNum, int
 void MainWindow::InstallDirectory() {
     GameInstallDialog dlg;
     dlg.exec();
+    RefreshGameTable();
 }
 
 void MainWindow::SetLastUsedTheme() {