# HG changeset patch # User Olaf Wintermann <olaf.wintermann@gmail.com> # Date 1743797314 -7200 # Node ID 63d53ce4dd67d6f17d82daf9361c359f00cae5e7 # Parent 198756ab284599c2d3791f93dd7b3a4cd05980d4 fix ui_widget_set_size (QT) diff -r 198756ab2845 -r 63d53ce4dd67 ui/qt/widget.cpp --- a/ui/qt/widget.cpp Thu Apr 03 21:24:43 2025 +0200 +++ b/ui/qt/widget.cpp Fri Apr 04 22:08:34 2025 +0200 @@ -53,7 +53,7 @@ } void ui_widget_set_size(UIWIDGET w, int width, int height) { - w->resize(width >= 0 ? width : w->width(), height >= 0 ? w->height()); + w->resize(width >= 0 ? width : w->width(), height >= 0 ? height : w->height()); } void ui_widget_redraw(UIWIDGET w) {