Skip to content

Commit ee38d9e

Browse files
authored
Merge pull request #30234 from RomanPudashkin/mixer_sub_menu_crash
2 parents b86e87c + b9b1ba9 commit ee38d9e

File tree

1 file changed

+1
-2
lines changed
  • src/framework/uicomponents/qml/Muse/UiComponents/internal

1 file changed

+1
-2
lines changed

src/framework/uicomponents/qml/Muse/UiComponents/internal/StyledMenu.qml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,7 @@ MenuView {
256256
root.subMenuLoader.hasSiblingMenus = root.hasSiblingMenus
257257

258258
root.subMenuLoader.handleMenuItem.connect(function(itemId) {
259-
Qt.callLater(root.handleMenuItem, itemId)
260-
root.subMenuLoader.close()
259+
root.handleMenuItem(itemId)
261260
})
262261

263262
root.subMenuLoader.opened.connect(function(itemId) {

0 commit comments

Comments
 (0)