We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b6cb0a commit bf9f196Copy full SHA for bf9f196
journal-entry/journal-entry.qml
@@ -130,6 +130,14 @@ QtObject {
130
131
// Create the new journal note.
132
script.createNote(headline + "\n================\n\n" + noteBodyTemplate);
133
+
134
+ const currentNote = script.currentNote();
135
136
+ // rename the note file if needed
137
+ if (currentNote.allowDifferentFileName()) {
138
+ currentNote.renameNoteFile(headline);
139
+ mainWindow.buildNotesIndexAndLoadNoteDirectoryList(false, true);
140
+ }
141
142
// Default tags.
143
if (defaultTags && defaultTags !== '') {
0 commit comments