🐛 修复不能实时自动排序

This commit is contained in:
BookerLiu
2025-03-07 11:29:41 +08:00
parent 32e91d6d23
commit 7b2ffadf9c
2 changed files with 5 additions and 2 deletions

View File

@@ -161,6 +161,9 @@ namespace GeekDesk.Util
LogUtil.WriteErrorLog(e, "程序启动失败:path=" + icon.Path + ",type=" + type);
}
}
//启动后根据是否开启了使用次数排序判断是否执行一次排序
CommonCode.SortIconList(MainWindow.appData.AppConfig.IconSortType == (SortType.COUNT_LOW|SortType.COUNT_UP) ? true : false);
});
}