QmlDesigner: Fix for Binding Editor launch pos

Task: QDS-1418

Change-Id: Id0c051d7187648a1477de70769fb7a47363ccdeb
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Aleksei German
2020-06-09 13:46:14 +02:00
parent 01b0d4f8f5
commit def4655042
6 changed files with 24 additions and 9 deletions

View File

@@ -79,14 +79,19 @@ BindingEditorDialog::~BindingEditorDialog()
delete m_verticalLayout;
}
void BindingEditorDialog::showWidget(int x, int y)
void BindingEditorDialog::showWidget()
{
this->show();
this->raise();
move(QPoint(x, y));
m_editorWidget->setFocus();
}
void BindingEditorDialog::showWidget(int x, int y)
{
showWidget();
move(QPoint(x, y));
}
QString BindingEditorDialog::editorValue() const
{
if (!m_editorWidget)