Reapply the action choice instead.
This commit is contained in:
parent
b2b202d190
commit
2c68802446
@ -556,11 +556,6 @@ ChoicePage::doAlongsideApply()
|
||||
|
||||
QMutexLocker locker( &m_coreMutex );
|
||||
|
||||
if ( m_core->isDirty() )
|
||||
{
|
||||
m_core->revert();
|
||||
}
|
||||
|
||||
QString path = m_beforePartitionBarsView->
|
||||
selectionModel()->
|
||||
currentIndex().data( PartitionModel::PartitionPathRole ).toString();
|
||||
|
@ -65,6 +65,7 @@ public:
|
||||
Choice currentChoice() const;
|
||||
|
||||
void onLeave();
|
||||
void applyActionChoice( ChoicePage::Choice choice );
|
||||
|
||||
signals:
|
||||
void nextStatusChanged( bool );
|
||||
@ -84,7 +85,6 @@ private:
|
||||
void applyDeviceChoice();
|
||||
void continueApplyDeviceChoice();
|
||||
void updateDeviceStatePreview();
|
||||
void applyActionChoice( ChoicePage::Choice choice );
|
||||
void updateActionChoicePreview( ChoicePage::Choice choice );
|
||||
void setupActions();
|
||||
OsproberEntryList getOsproberEntriesForDevice( Device* device ) const;
|
||||
|
@ -368,8 +368,10 @@ void
|
||||
PartitionViewStep::onActivate()
|
||||
{
|
||||
// if we're coming back to PVS from the next VS
|
||||
if ( m_widget->currentWidget() == m_choicePage )
|
||||
if ( m_widget->currentWidget() == m_choicePage &&
|
||||
m_choicePage->currentChoice() == ChoicePage::Alongside )
|
||||
{
|
||||
m_choicePage->applyActionChoice( ChoicePage::Alongside );
|
||||
// m_choicePage->reset();
|
||||
//FIXME: ReplaceWidget should be reset maybe?
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user