This commit is contained in:
DavidXanatos 2022-06-16 18:35:26 +02:00
parent 94e9666539
commit 15b4b1e19d
2 changed files with 7 additions and 0 deletions

View File

@ -9,6 +9,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [1.1.3 / 5.56.3] - 2022-06-??
### Added
- added group first sorting [#1922](https://github.com/sandboxie-plus/Sandboxie/issues/1922)
### Fixed
- fixed issue with recovery window on delete [#1948](https://github.com/sandboxie-plus/Sandboxie/issues/1948)
- fixed double click issue on path column [#1951](https://github.com/sandboxie-plus/Sandboxie/issues/1951)

View File

@ -113,6 +113,8 @@ QList<QVariant> CSbieModel::Sync(const QMap<QString, CSandBoxPtr>& BoxList, cons
QMap<QList<QVariant>, QList<STreeNode*> > New;
QHash<QVariant, STreeNode*> Old = m_Map;
bool bGroupsFirst = theConf->GetBool("Options/SortGroupsFirst", false);
bool bWatchSize = theConf->GetBool("Options/WatchBoxSize", false);
foreach(const QString& Group, Groups.keys())
@ -139,6 +141,8 @@ QList<QVariant> CSbieModel::Sync(const QMap<QString, CSandBoxPtr>& BoxList, cons
pNode->IsBold = true;
pNode->Values[eName].Raw = Group;
if(bGroupsFirst)
pNode->Values[eName].SortKey = ID;
pNode->Values[eStatus].Raw = tr("Box Group");
}
else