We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f5c9f6 commit 4e7e9a3Copy full SHA for 4e7e9a3
src/scriptable/scriptableproxy.cpp
@@ -2114,14 +2114,16 @@ int ScriptableProxy::inputDialog(const NamedValueList &values)
2114
if (!widgets.isEmpty())
2115
widgets.first()->setFocus();
2116
2117
- dialog.adjustSize();
2118
-
2119
if (geometry.height() == 0)
2120
geometry.setHeight(dialog.height());
2121
if (geometry.width() == 0)
2122
geometry.setWidth(dialog.width());
+
2123
if (geometry.isValid())
2124
dialog.resize(geometry.size());
+ else
2125
+ dialog.adjustSize();
2126
2127
if (geometry.x() >= 0 && geometry.y() >= 0)
2128
dialog.move(geometry.topLeft());
2129
0 commit comments