diff --git a/qml/AppMenuBar.qml b/qml/AppMenuBar.qml index fc01fb9..913fe5e 100644 --- a/qml/AppMenuBar.qml +++ b/qml/AppMenuBar.qml @@ -71,6 +71,7 @@ MenuBar { visible: Objects.types[modelData].createable() height: visible ? implicitHeight : 0 icon.source: './icons/'+modelData+'.svg' // Default to dark version + icon.color: sysPalette.windowText onTriggered: { Objects.createNewRegisteredObject(modelData) objectLists.update() diff --git a/qml/ObjectLists.qml b/qml/ObjectLists.qml index 1657a72..4100973 100644 --- a/qml/ObjectLists.qml +++ b/qml/ObjectLists.qml @@ -401,10 +401,16 @@ ListView { visible: Objects.types[modelData].createable() height: visible ? implicitHeight : 0 icon.source: './icons/'+modelData+'.svg' // Default to dark version + icon.color: sysPalette.windowText onClicked: { Objects.createNewRegisteredObject(modelData) objectListList.update() + objEditor.obj = Objects.currentObjects[modelData][Objects.currentObjects[modelData].length - 1] + objEditor.objType = modelData + objEditor.objIndex = Objects.currentObjects[modelData].length - 1 + objEditor.editingRow = objectListList.listViews[modelData].editingRows[objEditor.objIndex] + objEditor.show() } } } diff --git a/qml/icons/Sequence.svg b/qml/icons/Sequence.svg index d2aad0b..31bc902 100644 --- a/qml/icons/Sequence.svg +++ b/qml/icons/Sequence.svg @@ -24,13 +24,18 @@ inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="22.4" - inkscape:cx="0.18129934" - inkscape:cy="18.247725" + inkscape:cx="16.797514" + inkscape:cy="10.661402" inkscape:document-units="px" inkscape:current-layer="layer1" inkscape:document-rotation="0" showgrid="true" - showguides="false"> + showguides="true" + inkscape:window-width="1920" + inkscape:window-height="1011" + inkscape:window-x="0" + inkscape:window-y="0" + inkscape:window-maximized="1"> @@ -43,7 +48,7 @@ image/svg+xml - + @@ -57,76 +62,77 @@ width="7" height="2" x="8.5" - y="16.5" /> + y="18.5" /> + y="16" /> + y="18.5" /> u + x="8.483983" + y="11.134649" + style="font-size:17.3333px">u n + x="15.903568" + y="13.905546" + style="font-size:14.6667px;stroke-width:1.00003">n