From ce80a024565a8894450bbadcf51cb577197a32eb Mon Sep 17 00:00:00 2001 From: Michael Jansen Date: Fri, 6 Oct 2023 13:03:25 -0400 Subject: [PATCH] sort paths and autos when creating new folders --- lib/pages/project/project_page.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/pages/project/project_page.dart b/lib/pages/project/project_page.dart index ed499d79..63a6eb05 100644 --- a/lib/pages/project/project_page.dart +++ b/lib/pages/project/project_page.dart @@ -360,6 +360,7 @@ class _ProjectPageState extends State { setState(() { _pathFolders.add(folderName); + _sortPaths(_pathSortValue); }); widget.prefs.setStringList( PrefsKeys.pathFolders, _pathFolders); @@ -816,6 +817,7 @@ class _ProjectPageState extends State { setState(() { _autoFolders.add(folderName); + _sortAutos(_autoSortValue); }); widget.prefs.setStringList( PrefsKeys.autoFolders, _autoFolders);