diff --git a/portprotonqt/context_menu_manager.py b/portprotonqt/context_menu_manager.py index df21416..4120559 100644 --- a/portprotonqt/context_menu_manager.py +++ b/portprotonqt/context_menu_manager.py @@ -601,7 +601,6 @@ Icon={icon_path} return False def delete_game(self, game_name, exec_line): - """Delete the .desktop file and associated custom data for the game.""" reply = QMessageBox.question( self.parent, _("Confirm Deletion"), @@ -647,6 +646,10 @@ Icon={icon_path} _("Failed to delete custom data: {error}").format(error=str(e)) ) + # Перезагрузка списка игр и обновление сетки + self.load_games() + self.update_game_grid() + def add_to_menu(self, game_name, exec_line): """Copy the .desktop file to ~/.local/share/applications.""" if not self._check_portproton():