Fix a crash with QHighDpiScaling

This commit is contained in:
Ilya Fedin 2023-12-05 20:31:58 +04:00 committed by John Preston
parent 6b5524b63c
commit a8b24e6f6f

View file

@ -384,6 +384,7 @@ void PopupMenu::handleMenuResize() {
newWidth,
_padding.top() + scrollHeight + _padding.bottom());
setFixedSize(newSize);
resize(newSize);
}
_inner = rect().marginsRemoved(_padding);
}