From dd7dbc87979f8a812a03b257ff0c0bbee34391b5 Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Tue, 17 Jun 2025 11:58:26 +0100 Subject: [PATCH] Fix: Allow object picker to resize if there are no classes. --- src/object_gui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/object_gui.cpp b/src/object_gui.cpp index 502d8891e6..dc80fbc8c6 100644 --- a/src/object_gui.cpp +++ b/src/object_gui.cpp @@ -187,6 +187,8 @@ public: case WID_BO_INFO: size.height = this->info_height; + fill.height = this->has_class_picker ? 0 : 1; + resize.height = this->has_class_picker ? 0 : 1; break; default: