Initial commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// Copyright (C) 2025 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
import QtQuick
|
||||
import QtQuick.Templates as T
|
||||
|
||||
T.Action {
|
||||
text: qsTr("Undo")
|
||||
icon.name: "edit-undo"
|
||||
icon.width: 24
|
||||
icon.height: 24
|
||||
shortcut: StandardKey.Undo
|
||||
enabled: editor.canUndo
|
||||
onTriggered: editor.undo()
|
||||
|
||||
required property Item editor
|
||||
}
|
||||
Reference in New Issue
Block a user