Remove Edit menu
This menu providers a few text editing related functions, like undo/redo, copy, paste, etc. As far as I can tell, it never worked in a useful way, though: It operates on the activeFocusItem, but as soon as one clicks on the menu, this becomes null. It is somewhat useable through shortcuts, but the text fields have these shortcuts natively.
This commit is contained in:
committed by
Joshua Goins
parent
bf66118355
commit
0c727237ee
@@ -71,10 +71,7 @@ Labs.MenuBar {
|
||||
onTriggered: Qt.quit()
|
||||
}
|
||||
}
|
||||
EditMenu {
|
||||
title: i18nc("menu", "Edit")
|
||||
field: (root.activeFocusItem instanceof TextEdit || root.activeFocusItem instanceof TextInput) ? root.activeFocusItem : null
|
||||
}
|
||||
|
||||
Labs.Menu {
|
||||
title: i18nc("menu", "View")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user