Commit 14b04862 authored by Lamarque Souza's avatar Lamarque Souza
Browse files

Fix problem with menus not clickable in QML shutdown dialog.

BUG: 304907
FIXED-IN: 4.9.1
parent c7b0f9ee
......@@ -398,12 +398,14 @@ PlasmaCore.FrameSvgItem {
var itemData = new Object
itemData["itemIndex"] = index
itemData["itemText"] = options[index]
itemData["itemSubMenu"] = null
itemData["itemAllowAmpersand"] = true
if (index == rebootOptions["default"]) {
itemData["itemText"] += i18nc("default option in boot loader", " (default)")
}
contextMenu.append(itemData)
}
contextMenu.clicked.connect(shutdownUi.rebootRequested2)
}
}
contextMenu.open()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment