From 74a188f6af3e314c08e5eb71a55a035f0982136c Mon Sep 17 00:00:00 2001 From: Argent77 <4519923+Argent77@users.noreply.github.com> Date: Thu, 21 Nov 2024 21:30:57 +0100 Subject: [PATCH] Fix game launcher not updated when manually opening a game --- src/org/infinity/NearInfinity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org/infinity/NearInfinity.java b/src/org/infinity/NearInfinity.java index ebd005fad..edadbfe5a 100644 --- a/src/org/infinity/NearInfinity.java +++ b/src/org/infinity/NearInfinity.java @@ -686,6 +686,7 @@ public void actionPerformed(ActionEvent event) { ChildFrame.closeWindows(); ResourceTreeModel treemodel = ResourceFactory.getResourceTreeModel(); updateWindowTitle(); + updateLauncher(); final String msg = String.format(STATUSBAR_TEXT_FMT, Profile.getProperty(Profile.Key.GET_GAME_TITLE), Profile.getGameRoot(), Objects.requireNonNull(treemodel).size()); statusBar.setMessage(msg);