diff options
Diffstat (limited to 'components/package/contents/ui/FocusComposer.qml')
-rw-r--r-- | components/package/contents/ui/FocusComposer.qml | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/components/package/contents/ui/FocusComposer.qml b/components/package/contents/ui/FocusComposer.qml index bbee1edc..9129dba9 100644 --- a/components/package/contents/ui/FocusComposer.qml +++ b/components/package/contents/ui/FocusComposer.qml | |||
@@ -52,7 +52,30 @@ KubeComponents.OverlayDialog { | |||
52 | } | 52 | } |
53 | 53 | ||
54 | RowLayout { | 54 | RowLayout { |
55 | Layout.alignment: Qt.AlignRight | 55 | |
56 | Button { | ||
57 | |||
58 | text: "Discard" | ||
59 | |||
60 | onClicked: { | ||
61 | root.destroy() | ||
62 | } | ||
63 | } | ||
64 | |||
65 | Item { | ||
66 | Layout.fillWidth: true | ||
67 | } | ||
68 | |||
69 | |||
70 | Button { | ||
71 | |||
72 | text: "Save as Draft" | ||
73 | |||
74 | onClicked: { | ||
75 | composer.saveAsDraft() | ||
76 | root.destroy() | ||
77 | } | ||
78 | } | ||
56 | 79 | ||
57 | Button { | 80 | Button { |
58 | text: "Send" | 81 | text: "Send" |