Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidXanatos committed Apr 20, 2024
1 parent 0c58926 commit c90340a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- added Make the trigger list editable [#3742](https://github.com/sandboxie-plus/Sandboxie/issues/3742)
- added Optionally extend the screenshot protection to the UI [#3739](https://github.com/sandboxie-plus/Sandboxie/issues/3739)
- added a button to edit local/custom templates [#3738](https://github.com/sandboxie-plus/Sandboxie/issues/3738)
- asses Permanently Re-sizable or Larger "Run Sandboxed" Window [#3697](https://github.com/sandboxie-plus/Sandboxie/issues/3697)

### Changed
- improved Avast template [#3777](https://github.com/sandboxie-plus/Sandboxie/pull/3777)
Expand Down
2 changes: 1 addition & 1 deletion SandboxiePlus/SandMan/Forms/SelectBoxWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>263</width>
<width>290</width>
<height>430</height>
</rect>
</property>
Expand Down
6 changes: 2 additions & 4 deletions SandboxiePlus/SandMan/Windows/SelectBoxWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ CBoxPicker::CBoxPicker(QString DefaultBox, QWidget* parent)
pLayout->setContentsMargins(0, 0, 0, 0);
pLayout->addWidget(new CFinder(this, this, 0));
pLayout->insertWidget(0, m_pTreeBoxes);

this->setMaximumWidth(300);

if(DefaultBox.isEmpty() && theAPI->IsConnected())
DefaultBox = theAPI->GetGlobalSettings()->GetText("DefaultBox", "DefaultBox");
Expand Down Expand Up @@ -197,12 +195,12 @@ CSelectBoxWindow::CSelectBoxWindow(const QStringList& Commands, const QString& B

m_pBoxPicker->setFocus();

//restoreGeometry(theConf->GetBlob("SelectBoxWindow/Window_Geometry"));
restoreGeometry(theConf->GetBlob("SelectBoxWindow/Window_Geometry"));
}

CSelectBoxWindow::~CSelectBoxWindow()
{
//theConf->SetBlob("SelectBoxWindow/Window_Geometry", saveGeometry());
theConf->SetBlob("SelectBoxWindow/Window_Geometry", saveGeometry());
}

void CSelectBoxWindow::closeEvent(QCloseEvent *e)
Expand Down
1 change: 1 addition & 0 deletions SandboxiePlus/SandMan/Wizards/BoxAssistant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,7 @@ void CRunPage::OnStateChanged(int state, const QString& Text)
QString Name = name;
//if(!Name.isEmpty()) pForm->addRow(new QLabel(Name));
CBoxPicker* pPicker = new CBoxPicker(value.toString());
pPicker->setMaximumWidth(300);
pWidget = pPicker;
pForm->addRow(Name, pPicker);
}
Expand Down

0 comments on commit c90340a

Please sign in to comment.