fix: right menu visible

This commit is contained in:
kate 2022-01-17 02:17:59 +08:00
parent eec8dd984b
commit 63cb1ffe65

View file

@ -99,7 +99,7 @@ DockItem {
MenuItem {
text: model.visibleName
visible: windowCount > 0
visible: windowCount > 0 && model.visibleName
onTriggered: appModel.openNewInstance(model.appId)
}