[app] Removed references to non-existent menu item

This commit is contained in:
Slava Monich 2015-08-24 12:27:49 +03:00
parent c90983070c
commit 4dbe01fed0

View file

@ -56,16 +56,6 @@ SilicaFlickable {
text: qsTrId("book-view-back")
onClicked: root.closeBook()
}
// Remove disabled items from the menu when we have a chance
onActiveChanged: if (!active) hideDisabledItems()
Component.onCompleted: hideDisabledItems()
function hideDisabledItems() {
defaultFontMenuItem.visible = defaultFontMenuItem.enabled
smallerFontMenuItem.visible = smallerFontMenuItem.enabled
largerFontMenuItem.visible = largerFontMenuItem.enabled
}
}
Timer {