mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Make identifier unique and call the correct one.
Wouldn't start for me without (from source, on Windows). part of CURA-9522
This commit is contained in:
parent
634288a37c
commit
d351458b10
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ Popup
|
|||
// needed for the `mapToItem` function to work; apparently a Popup is not an Item
|
||||
Item
|
||||
{
|
||||
id: materialBrandSubMenu
|
||||
id: materialBrandSubMenuItem
|
||||
anchors.fill: parent
|
||||
}
|
||||
|
||||
|
@ -47,7 +47,7 @@ Popup
|
|||
materialBrandSubMenu.width = implicitWidth;
|
||||
materialBrandSubMenu.height = implicitHeight;
|
||||
|
||||
const globalPosition = materialBrandSubMenu.mapToItem(null, 0, 0);
|
||||
const globalPosition = materialBrandSubMenuItem.mapToItem(null, 0, 0);
|
||||
|
||||
if (globalPosition.y > mainWindow.height - materialBrandSubMenu.height)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue