Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ Loader {
property StyledMenu menu: loader.item as StyledMenu
property Item menuAnchorItem: null
property bool hasSiblingMenus: false
property var placementPolicies: PopupView.Default
property var parentWindow: null

property bool isSearchable: false
property alias isMenuOpened: loader.active

property string accessibleName: ""
Expand Down Expand Up @@ -68,7 +69,9 @@ Loader {

accessibleName: loader.accessibleName
hasSiblingMenus: loader.hasSiblingMenus
placementPolicies: loader.placementPolicies
parentWindow: loader.parentWindow
isSearchable: loader.isSearchable

onHandleMenuItem: function(itemId) {
itemMenu.close()
Expand Down Expand Up @@ -140,7 +143,6 @@ Loader {
menu.closeSubMenu()

menu.model = model
menu.calculateSize()

if (x !== -1) {
menu.x = x
Expand Down
Loading
Loading