Transform Clipboard to singleton and add rich text copying feature

This commit is contained in:
Carl Schwan
2020-11-07 11:30:15 +01:00
parent 91f82fb42c
commit 8c8a9976a5
6 changed files with 39 additions and 25 deletions

View File

@@ -209,7 +209,7 @@ Control {
icon.name: "mail-attachment"
onClicked: {
if (imageClipboard.hasImage) {
if (Clipboard.hasImage) {
attachDialog.open()
} else {
var fileDialog = openFileDialog.createObject(ApplicationWindow.overlay)