Bozze: salva in Drafts, riprendi, sostituisci per id (0.15.0)
Compose con Queue=0 scrive il messaggio senza metterlo in coda; la cartella e' Drafts (nuovo tipo 'draft' in folders()). Riprendendo una bozza il motore la sostituisce per id (Draft), non ne crea una seconda; dopo l'invio va nel cestino. Foglio di composizione estratto in foglioMessaggio(), usato da invio e bozza.
This commit is contained in:
1 parent
69f97d99b8
commit
d7549cedd0
6 files changed
+187
-22
No files matched your search
@@ -255,6 +255,13 @@ Page {
|
||||
avvisoTimer.restart();
|
||||
}
|
||||
}
|
||||
MenuItem {
|
||||
text: qsTr("Riprendi la bozza")
|
||||
visible: engine.folderType(page.cartella) === "draft"
|
||||
onClicked: pageStack.push(Qt.resolvedUrl("ComposePage.qml"),
|
||||
{ "bozzaCartella": page.cartella,
|
||||
"bozzaRiga": page.riga })
|
||||
}
|
||||
MenuItem {
|
||||
text: page.mostraHtml ? qsTr("Vedi come testo")
|
||||
: qsTr("Vedi come HTML")
|
||||
|
||||
Reference in new issue
Block a user