Fix the curentIndex of appmenu

pull/7/head
reionwong 5 years ago
parent 0dad178e04
commit 8e97a20fa0

@ -129,6 +129,12 @@ Item {
model: appMenuModel
// Initialize the current index
onVisibleChanged: {
if (!visible)
appMenuView.currentIndex = -1
}
delegate: StandardItem {
id: _menuItem
width: _actionText.width + FishUI.Units.largeSpacing

Loading…
Cancel
Save