forked from qt-creator/qt-creator
QmlDesigner: Fix rename context menu option in material browser
The method the rename context menu option calls was moved in a recent refactoring. Fixes: QDS-10170 Change-Id: Ia96efa0782a4b62f07ea0e7cfd9b0d9588595d06 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
@@ -24,6 +24,11 @@ Rectangle {
|
||||
matName.commitRename()
|
||||
}
|
||||
|
||||
function startRename()
|
||||
{
|
||||
matName.startRename()
|
||||
}
|
||||
|
||||
border.width: MaterialBrowserBackend.materialBrowserModel.selectedIndex === index ? MaterialBrowserBackend.rootView.materialSectionFocused ? 3 : 1 : 0
|
||||
border.color: MaterialBrowserBackend.materialBrowserModel.selectedIndex === index
|
||||
? StudioTheme.Values.themeControlOutlineInteraction
|
||||
|
Reference in New Issue
Block a user