1.12.7
This commit is contained in:
parent
c87dd13349
commit
96785bdb39
|
@ -8,6 +8,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||
|
||||
### Fixed
|
||||
- Make Duplicate Box Config keep the order of the original box configuration [#3523](https://github.com/sandboxie-plus/Sandboxie/issues/3523)
|
||||
- Save options as new defaults disappears from the Summary page [#3522](https://github.com/sandboxie-plus/Sandboxie/issues/3522)
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ CNewBoxWizard::CNewBoxWizard(bool bAlowTemp, QWidget *parent)
|
|||
setPage(Page_Advanced, new CAdvancedPage);
|
||||
setPage(Page_Summary, new CSummaryPage);
|
||||
|
||||
m_bAdvanced = false;
|
||||
m_bAdvanced = theConf->GetBool("Options/AdvancedBoxWizard", false);
|
||||
|
||||
setWizardStyle(ModernStyle);
|
||||
//setOption(HaveHelpButton, true);
|
||||
|
@ -377,13 +377,18 @@ CBoxTypePage::CBoxTypePage(bool bAlowTemp, QWidget *parent)
|
|||
palette.setColor(QPalette::Text, Qt::black);
|
||||
m_pAdvanced->setPalette(palette);
|
||||
}
|
||||
m_pAdvanced->setChecked(theConf->GetBool("Options/AdvancedBoxWizard", false));
|
||||
layout->addWidget(m_pAdvanced, row++, 2, 1, 1);
|
||||
connect(m_pAdvanced, SIGNAL(toggled(bool)), this, SLOT(OnAdvanced()));
|
||||
|
||||
setLayout(layout);
|
||||
}
|
||||
|
||||
|
||||
void CBoxTypePage::initializePage()
|
||||
{
|
||||
m_pAdvanced->setChecked(((CNewBoxWizard*)wizard())->m_bAdvanced);
|
||||
}
|
||||
|
||||
void CBoxTypePage::setCurrentType(int type)
|
||||
{
|
||||
if(m_TypeGroup->buttons().count() < type)
|
||||
|
|
|
@ -53,6 +53,8 @@ class CBoxTypePage : public QWizardPage
|
|||
public:
|
||||
CBoxTypePage(bool bAlowTemp, QWidget *parent = nullptr);
|
||||
|
||||
void initializePage() override;
|
||||
|
||||
int nextId() const override;
|
||||
bool isComplete() const override;
|
||||
bool validatePage() override;
|
||||
|
|
Loading…
Reference in New Issue