This commit is contained in:
DavidXanatos 2022-06-25 19:02:30 +02:00
parent 4f656a898a
commit 92b246da84
2 changed files with 14 additions and 10 deletions

View File

@ -4,16 +4,15 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [1.2.0 / 5.57.0] - 2022-01-??
## [1.2.0 / 5.57.0] - 2022-06-??
### Added
- Reenginiered "SandboxieLogon=y" and set it on by default, now every sandbox gets its own SID
-- Note: this enforces the isolation of individual sandboxes from each other.
### Changed
- reworked hook management, now unloaded dll'f are properly unhooked [#1243](https://github.com/sandboxie-plus/Sandboxie/issues/1243)
- reworked hook management, now unloaded dll's are properly unhooked [#1243](https://github.com/sandboxie-plus/Sandboxie/issues/1243)
- box order is now stored in the plus ini

View File

@ -329,7 +329,7 @@ void CSbieView::Refresh()
}
QString Grouping = CSbieView__SerializeGroup(m_Groups);
theAPI->GetUserSettings()->SetText("BoxDisplayOrder", Grouping);
theConf->SetValue("UIConfig/BoxDisplayOrder", Grouping);
}
}
@ -1493,13 +1493,17 @@ void CSbieView::ReloadUserConfig()
{
m_Groups.clear();
QString Grouping = theAPI->GetUserSettings()->GetText("BoxDisplayOrder");
QString Grouping = theConf->GetString("UIConfig/BoxDisplayOrder");
if(Grouping.isEmpty())
Grouping = theAPI->GetUserSettings()->GetText("BoxDisplayOrder");
CSbieView__ParseGroup(Grouping, m_Groups);
UpdateGroupMenu();
m_Collapsed = SplitStr(theAPI->GetUserSettings()->GetText("BoxCollapsedView"), ",").toSet();
QString Collapsed = theConf->GetString("UIConfig/BoxCollapsedView");
if (Collapsed.isEmpty())
Collapsed = theAPI->GetUserSettings()->GetText("BoxCollapsedView");
m_Collapsed = SplitStr(Collapsed, ",").toSet();
}
void CSbieView::SaveUserConfig()
@ -1509,9 +1513,10 @@ void CSbieView::SaveUserConfig()
//m_UserConfigChanged = false;
QString Grouping = CSbieView__SerializeGroup(m_Groups);
theAPI->GetUserSettings()->SetText("BoxDisplayOrder", Grouping);
theConf->SetValue("UIConfig/BoxDisplayOrder", Grouping);
theAPI->GetUserSettings()->SetText("BoxCollapsedView", m_Collapsed.toList().join(","));
QString Collapsed = m_Collapsed.toList().join(",");
theConf->SetValue("UIConfig/BoxCollapsedView", Collapsed);
}
void CSbieView::OnMoveItem(const QString& Name, const QString& To, int row)