Remember how tall the user made the info panel

Kept as a share of the tree/info column, so it survives new tabs, a resized
window and the next session.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-20 08:11:29 +00:00
parent 02533b543d
commit a01c598fe6
3 changed files with 32 additions and 0 deletions

View File

@@ -723,6 +723,7 @@ public final class MainFrame extends JFrame implements ServerTabPane.Listener {
private void shutdown() {
if (!shuttingDown.compareAndSet(false, true)) return;
if (statusTimer != null) statusTimer.stop();
settings.save(); // keeps the layout the user left behind (info panel height, …)
try {
Runtime.getRuntime().removeShutdownHook(shutdownHook);
} catch (IllegalStateException ignored) {