forked from qt-creator/qt-creator
QmlDesigner: Fix for Binding Editor
- Makes Binding Editor modal - Fixes Binding Editors hotkeys and actions - Adds Target item, property and expected type into title Task-numbers: QDS-2819, QDS-4878 Change-Id: Ib5c5f73e6552f58828776043f9b793a24c48a1f8 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -286,10 +286,13 @@ void ActionEditor::prepareConnections()
|
||||
m_dialog->setAllConnections(connections, singletons, states);
|
||||
}
|
||||
|
||||
void ActionEditor::updateWindowName()
|
||||
void ActionEditor::updateWindowName(const QString &targetName)
|
||||
{
|
||||
if (!m_dialog.isNull()) {
|
||||
m_dialog->setWindowTitle(m_dialog->defaultTitle());
|
||||
if (targetName.isEmpty())
|
||||
m_dialog->setWindowTitle(m_dialog->defaultTitle());
|
||||
else
|
||||
m_dialog->setWindowTitle(m_dialog->defaultTitle() + " [" + targetName + "]");
|
||||
m_dialog->raise();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user