From 8b4bbdaa7b42633673834a1e23c22a829d3d4bc3 Mon Sep 17 00:00:00 2001 From: frigoref Date: Mon, 5 Aug 2024 22:15:52 +0200 Subject: [PATCH] Fix issues 12777 (#12819) Rename settings windows button from "Reset" to "Reset to Saved" SettingsWindow.java --- .../strategy/triplea/settings/SettingsWindow.java | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/game-app/game-core/src/main/java/games/strategy/triplea/settings/SettingsWindow.java b/game-app/game-core/src/main/java/games/strategy/triplea/settings/SettingsWindow.java index 1b42d97d91..a0d2a9f594 100644 --- a/game-app/game-core/src/main/java/games/strategy/triplea/settings/SettingsWindow.java +++ b/game-app/game-core/src/main/java/games/strategy/triplea/settings/SettingsWindow.java @@ -33,8 +33,9 @@ /** * UI window with controls to update game settings and preferences. Settings are grouped by type, - * the window consists of a TabbedPane and in it we load one tab per non-hidden {@code SettingType}. - * All data needed to render the settings UI is pulled from the {@code ClientSetting} enum. + * the window consists of a TabbedPane and in it, we load one tab per non-hidden {@code + * SettingType}. All data needed to render the settings UI is pulled from the {@code ClientSetting} + * enum. * * @see ClientSetting */ @@ -202,7 +203,11 @@ private JComponent buildButtonPanel() { .addHorizontalStrut(5) .add(new JButtonBuilder().title("Close").actionListener(this::close).build()) .addHorizontalStrut(5) - .add(new JButtonBuilder().title("Reset").actionListener(this::resetSettings).build()) + .add( + new JButtonBuilder() + .title("Reset to Saved") + .actionListener(this::resetSettings) + .build()) .addHorizontalStrut(5) .add( new JButtonBuilder()