mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 09:25:36 -04:00
Reset ReplacePage when going back from the next one.
This commit is contained in:
parent
55b93091e6
commit
cf3359bdb4
2 changed files with 12 additions and 0 deletions
|
@ -385,6 +385,17 @@ PartitionViewStep::isAtEnd() const
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
PartitionViewStep::onActivate()
|
||||||
|
{
|
||||||
|
// if we're coming back to PVS from the next VS
|
||||||
|
if ( m_widget->currentWidget() == m_replacePage )
|
||||||
|
{
|
||||||
|
m_replacePage->reset();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
PartitionViewStep::onLeave()
|
PartitionViewStep::onLeave()
|
||||||
{
|
{
|
||||||
|
|
|
@ -61,6 +61,7 @@ public:
|
||||||
bool isAtBeginning() const override;
|
bool isAtBeginning() const override;
|
||||||
bool isAtEnd() const override;
|
bool isAtEnd() const override;
|
||||||
|
|
||||||
|
void onActivate() override;
|
||||||
void onLeave() override;
|
void onLeave() override;
|
||||||
|
|
||||||
void setConfigurationMap( const QVariantMap& configurationMap ) override;
|
void setConfigurationMap( const QVariantMap& configurationMap ) override;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue