Trigger core reset when advancing to manual partitioning.
This commit is contained in:
parent
66d378d338
commit
86399ece26
@ -42,11 +42,12 @@ public:
|
||||
explicit PartitionPage( PartitionCoreModule* core, QWidget* parent = nullptr );
|
||||
~PartitionPage();
|
||||
|
||||
void onRevertClicked();
|
||||
|
||||
private:
|
||||
QScopedPointer< Ui_PartitionPage > m_ui;
|
||||
PartitionCoreModule* m_core;
|
||||
void updateButtons();
|
||||
void onRevertClicked();
|
||||
void onNewPartitionTableClicked();
|
||||
void onCreateClicked();
|
||||
void onEditClicked();
|
||||
|
@ -264,7 +264,11 @@ PartitionViewStep::next()
|
||||
if ( m_choicePage == m_widget->currentWidget() )
|
||||
{
|
||||
if ( m_choicePage->currentChoice() == ChoicePage::Manual )
|
||||
{
|
||||
m_widget->setCurrentWidget( m_manualPartitionPage );
|
||||
if ( m_core->isDirty() )
|
||||
m_manualPartitionPage->onRevertClicked();
|
||||
}
|
||||
else if ( m_choicePage->currentChoice() == ChoicePage::Erase )
|
||||
{
|
||||
emit done();
|
||||
|
Loading…
Reference in New Issue
Block a user