mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 02:45:37 -04:00
Reapply the action choice instead.
This commit is contained in:
parent
b2b202d190
commit
2c68802446
3 changed files with 4 additions and 7 deletions
|
@ -556,11 +556,6 @@ ChoicePage::doAlongsideApply()
|
||||||
|
|
||||||
QMutexLocker locker( &m_coreMutex );
|
QMutexLocker locker( &m_coreMutex );
|
||||||
|
|
||||||
if ( m_core->isDirty() )
|
|
||||||
{
|
|
||||||
m_core->revert();
|
|
||||||
}
|
|
||||||
|
|
||||||
QString path = m_beforePartitionBarsView->
|
QString path = m_beforePartitionBarsView->
|
||||||
selectionModel()->
|
selectionModel()->
|
||||||
currentIndex().data( PartitionModel::PartitionPathRole ).toString();
|
currentIndex().data( PartitionModel::PartitionPathRole ).toString();
|
||||||
|
|
|
@ -65,6 +65,7 @@ public:
|
||||||
Choice currentChoice() const;
|
Choice currentChoice() const;
|
||||||
|
|
||||||
void onLeave();
|
void onLeave();
|
||||||
|
void applyActionChoice( ChoicePage::Choice choice );
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void nextStatusChanged( bool );
|
void nextStatusChanged( bool );
|
||||||
|
@ -84,7 +85,6 @@ private:
|
||||||
void applyDeviceChoice();
|
void applyDeviceChoice();
|
||||||
void continueApplyDeviceChoice();
|
void continueApplyDeviceChoice();
|
||||||
void updateDeviceStatePreview();
|
void updateDeviceStatePreview();
|
||||||
void applyActionChoice( ChoicePage::Choice choice );
|
|
||||||
void updateActionChoicePreview( ChoicePage::Choice choice );
|
void updateActionChoicePreview( ChoicePage::Choice choice );
|
||||||
void setupActions();
|
void setupActions();
|
||||||
OsproberEntryList getOsproberEntriesForDevice( Device* device ) const;
|
OsproberEntryList getOsproberEntriesForDevice( Device* device ) const;
|
||||||
|
|
|
@ -368,8 +368,10 @@ void
|
||||||
PartitionViewStep::onActivate()
|
PartitionViewStep::onActivate()
|
||||||
{
|
{
|
||||||
// if we're coming back to PVS from the next VS
|
// 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();
|
// m_choicePage->reset();
|
||||||
//FIXME: ReplaceWidget should be reset maybe?
|
//FIXME: ReplaceWidget should be reset maybe?
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue