diff options
-rw-r--r-- | plugins/Scriver/src/msgdialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index 40ba1f0732..5fd420c57b 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -1854,6 +1854,8 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP ptrA szText(GetRichTextUtf(GetDlgItem(hwndDlg, IDC_MESSAGE)));
if (szText)
db_set_utf(dat->hContact, "SRMM", "SavedMsg", szText);
+ else
+ db_unset(dat->hContact, "SRMM", "SavedMsg");
}
tcmdlist_free(dat->cmdList);
|