mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2026-02-08 00:32:27 +00:00
Fix fullscreen menu not added on linux.
This commit is contained in:
@@ -39,12 +39,13 @@ MenuBar {
|
||||
MenuItem { action: showsettingsAction }
|
||||
}
|
||||
Menu {
|
||||
id: viewMenu
|
||||
title: qsTr("View")
|
||||
Instantiator {
|
||||
model: !appSettings.isMacOS ? 1 : 0
|
||||
delegate: MenuItem { action: fullscreenAction }
|
||||
onObjectAdded: (index, object) => menu.insertItem(index, object)
|
||||
onObjectRemoved: (index, object) => menu.removeItem(object)
|
||||
onObjectAdded: (index, object) => viewMenu.insertItem(index, object)
|
||||
onObjectRemoved: (index, object) => viewMenu.removeItem(object)
|
||||
}
|
||||
MenuItem { action: zoomIn }
|
||||
MenuItem { action: zoomOut }
|
||||
|
||||
Reference in New Issue
Block a user