fix sorting after cloning/moving notes into sorted parent, closes #3453

This commit is contained in:
zadam
2022-12-25 13:46:31 +01:00
parent afb6e860ea
commit f249d6cb26
2 changed files with 8 additions and 4 deletions

View File

@@ -36,7 +36,9 @@ export default class HistoryNavigationButton extends ButtonFromNoteWidget {
// API is broken and will be replaced: https://github.com/electron/electron/issues/33899
// until then no context menu
return;
if (true) { // avoid warning in dev console
return;
}
if (this.webContents.history.length < 2) {
return;