-rw-r--r-- | noncore/applets/notesapplet/notes.cpp | 4 |
1 files changed, 1 insertions, 3 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 | |||
@@ -144,11 +144,9 @@ NotesControl::NotesControl( QWidget *parent, const char *name ) | |||
144 | } | 144 | } |
145 | 145 | ||
146 | void NotesControl::slotSaveButton() { | 146 | void NotesControl::slotSaveButton() { |
147 | if(edited) { | 147 | slotNewButton(); |
148 | save(); | ||
149 | populateBox(); | 148 | populateBox(); |
150 | } | 149 | } |
151 | } | ||
152 | 150 | ||
153 | void NotesControl::slotDeleteButtonClicked() { | 151 | void NotesControl::slotDeleteButtonClicked() { |
154 | switch ( QMessageBox::warning(this,tr("Delete?") | 152 | switch ( QMessageBox::warning(this,tr("Delete?") |