commit
f12dc45bbd
|
@ -13,6 +13,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||
- Add UI for CoverWindows in NewBoxWizard.
|
||||
- Add UI option to start unsandboxed process but force child processes in SelectBoxWindow.
|
||||
- Add option "AlertBeforeStart".When it is set,a prompt pops up before launching a new program into the sandbox using "Start.exe" and checks if the program that started "Start.exe" is a Sandboxie component itself,if it is not, a warning pops up.
|
||||
- Add option for EditAdminOnly in SetupWizard.
|
||||
|
||||
### Changed
|
||||
- split the advanced new box wizard page in two
|
||||
|
|
|
@ -500,7 +500,10 @@ int CUIPage::nextId() const
|
|||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
// CShellPage
|
||||
//
|
||||
|
||||
void CShellPage::OnEditOnlyAdmin() {
|
||||
if (this->m_pEditOnlyAdmin->isChecked())
|
||||
QMessageBox::warning(this, tr("Warning"), tr("When this option is set, Sandbox Manager with normal user permissions will not be able to modify the configuration, which may result in a lock. You need to open the Sandbox Manager main window, click \"Sandbox (s)\" in the system menu, and then click \"Restart as Admin\" in the pop - up context menu to gain control of the configuration."),QMessageBox::Yes,QMessageBox::YesAll);
|
||||
}
|
||||
CShellPage::CShellPage(QWidget *parent)
|
||||
: QWizardPage(parent)
|
||||
{
|
||||
|
@ -526,6 +529,7 @@ CShellPage::CShellPage(QWidget *parent)
|
|||
|
||||
m_pEditOnlyAdmin = new QCheckBox(tr("Only applications with administrator token can change ini setting."));
|
||||
m_pEditOnlyAdmin->setChecked(false);
|
||||
connect(m_pEditOnlyAdmin,SIGNAL(clicked(bool)), this, SLOT(OnEditOnlyAdmin()));
|
||||
layout->addWidget(m_pEditOnlyAdmin);
|
||||
registerField("editAdminOnly", m_pEditOnlyAdmin);
|
||||
|
||||
|
|
|
@ -111,7 +111,8 @@ class CShellPage : public QWizardPage
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
CShellPage(QWidget *parent = nullptr);
|
||||
void OnEditOnlyAdmin();
|
||||
CShellPage(QWidget *parent = nullptr);
|
||||
|
||||
int nextId() const override;
|
||||
|
||||
|
|
Loading…
Reference in New Issue