-rw-r--r-- | noncore/applets/notesapplet/notes.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/noncore/applets/notesapplet/notes.cpp b/noncore/applets/notesapplet/notes.cpp index 76cb6c1..f2dbabf 100644 --- a/noncore/applets/notesapplet/notes.cpp +++ b/noncore/applets/notesapplet/notes.cpp @@ -143,12 +143,10 @@ NotesControl::NotesControl( QWidget *parent, const char *name ) // parent->setFocus(); } void NotesControl::slotSaveButton() { - if(edited) { - save(); - populateBox(); - } + slotNewButton(); + populateBox(); } void NotesControl::slotDeleteButtonClicked() { switch ( QMessageBox::warning(this,tr("Delete?") |