You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-12 22:57:38 +02:00
Desktop: Fixed: The side bar was being refreshed too frequently. Fixed: Order of notebooks with sub-notebooks was sometimes incorrect when sorting by last updated time.
This commit is contained in:
@ -310,7 +310,9 @@ class BaseApplication {
|
||||
SearchEngine.instance().scheduleSyncTables();
|
||||
}
|
||||
|
||||
if (this.hasGui() && ["FOLDER_UPDATE_ONE", "FOLDER_UPDATE_ALL"].indexOf(action.type) >= 0) {
|
||||
// Don't add FOLDER_UPDATE_ALL as refreshFolders() is calling it too, which
|
||||
// would cause the sidebar to refresh all the time.
|
||||
if (this.hasGui() && ["FOLDER_UPDATE_ONE"].indexOf(action.type) >= 0) {
|
||||
refreshFolders = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user