Commit f9844a2a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix Bug 297157 - knotes reqires to save edited note twice

FIXED-IN: 4.11.3
BUG: 297157
parent 9c2f7802
......@@ -236,12 +236,11 @@ QString KNotesPart::newNote( const QString &name, const QString &text )
}
mManager->addNewNote( journal );
mManager->save();
KNotesIconViewItem *note = mNoteList.value( journal->uid() );
mNotesView->scrollToItem( note );
mNotesView->setCurrentItem( note );
mManager->save();
return journal->uid();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment