Skip to content

Commit

Permalink
1.13.4
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidXanatos committed Mar 23, 2024
1 parent 2cb4a9c commit 8b7df9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions SandboxiePlus/SandMan/SandMan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1716,6 +1716,7 @@ SB_STATUS CSandMan::ImBoxMount(const CSandBoxPtr& pBox, bool bAutoUnmount)
}

CBoxImageWindow window(CBoxImageWindow::eMount, this);
window.SetAutoUnMount(bAutoUnmount);
if (theGUI->SafeExec(&window) != 1)
return SB_ERR(SB_Canceled);
return pBox->ImBoxMount(window.GetPassword(), window.UseProtection(), window.AutoUnMount());
Expand Down
1 change: 1 addition & 0 deletions SandboxiePlus/SandMan/Windows/BoxImageWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class CBoxImageWindow : public QDialog
void SetImageSize(quint64 uSize) const { return ui.txtImageSize->setText(QString::number(uSize / 1024)); }
quint64 GetImageSize() const { return ui.txtImageSize->text().toULongLong() * 1024; }
bool UseProtection() const { return ui.chkProtect->isChecked(); }
void SetAutoUnMount(bool bSet) { ui.chkAutoLock->setChecked(bSet); }
bool AutoUnMount() const { return ui.chkAutoLock->isChecked(); }

private slots:
Expand Down

0 comments on commit 8b7df9b

Please sign in to comment.