This commit is contained in:
DavidXanatos 2023-04-07 17:36:10 +02:00
parent 7477b76935
commit d7f94a57bf
3 changed files with 3 additions and 2 deletions

View File

@ -21,6 +21,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Fixed
- fixed compatybility issue with MSEdge 112.x
- fixed updter issue [#2790](https://github.com/sandboxie-plus/Sandboxie/issues/2790)
- fixed new box wizard issue [#2792](https://github.com/sandboxie-plus/Sandboxie/issues/2792)

View File

@ -28,7 +28,7 @@ CNewBoxWindow::CNewBoxWindow(QWidget *parent)
QMap<QString, CSandBoxPtr> Boxes = theAPI->GetAllBoxes();
for (int i=0;; i++) {
QString NewName = tr("New Box");
QString NewName = "New Box";
if (i > 0) NewName.append(" " + QString::number(i));
if (Boxes.contains(NewName.toLower().replace(" ", "_")))
continue;

View File

@ -181,7 +181,7 @@ CBoxTypePage::CBoxTypePage(bool bAlowTemp, QWidget *parent)
m_pBoxName->setMaxLength(32);
QMap<QString, CSandBoxPtr> Boxes = theAPI->GetAllBoxes();
for (int i=0;; i++) {
QString NewName = tr("New Box");
QString NewName = "New Box";
if (i > 0) NewName.append(" " + QString::number(i));
if (Boxes.contains(NewName.toLower().replace(" ", "_")))
continue;