fixed changing of the maximum size

This commit is contained in:
RomanPudashkin
2021-04-29 13:20:56 +02:00
parent 03f5817488
commit a102e4ae1e

View File

@@ -339,7 +339,7 @@ void QWidgetAdapter::setMinimumSize(QSize sz)
void QWidgetAdapter::setMaximumSize(QSize sz)
{
if (minimumSize() != sz) {
if (maximumSize() != sz) {
setProperty("kddockwidgets_max_size", sz);
updateGeometry();
}