From 63d9f00e96590a1bb7e9f91a425c9e460082550f Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Sun, 15 Aug 2021 17:14:00 +0200 Subject: [PATCH] Fixing issue with object creation from menubar. --- LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml index 9cdb42f..9619181 100644 --- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml @@ -88,7 +88,7 @@ MenuBar { model: Object.keys(Objects.types) MenuItem { - text: modelData + text: Objects.types[modelData].displayType() visible: Objects.types[modelData].createable() height: visible ? implicitHeight : 0 icon.name: modelData