1
0
Fork 0

[UI] Fix OPEN_FILE name.

This commit is contained in:
Kitteh 2018-11-02 08:09:18 +00:00
parent 2643f93155
commit e7872b5e4e
2 changed files with 3 additions and 4 deletions

View file

@ -9,7 +9,6 @@ MenuItem {
property string fontName: "Roboto" property string fontName: "Roboto"
} }
id: menuItem id: menuItem
implicitWidth: 100
implicitHeight: 20 implicitHeight: 20
contentItem: Text { contentItem: Text {
@ -25,8 +24,8 @@ MenuItem {
} }
background: Rectangle { background: Rectangle {
implicitWidth: 200 width: parent.width
implicitHeight: 20 height: parent.height
opacity: 1 opacity: 1
color: menuItem.highlighted ? "#c0c0f0" : "transparent" color: menuItem.highlighted ? "#c0c0f0" : "transparent"
} }

View file

@ -456,7 +456,7 @@ ApplicationWindow {
} }
Action { Action {
text: translate.getTranslation("FILE_MENU", i18n.language) text: translate.getTranslation("OPEN_FILE", i18n.language)
onTriggered: fileDialog.open() onTriggered: fileDialog.open()
shortcut: keybinds.openFile shortcut: keybinds.openFile
} }