Reset ReplacePage when going back from the next one.

This commit is contained in:
Teo Mrnjavac 2015-04-29 18:16:18 +02:00
parent 55b93091e6
commit cf3359bdb4
2 changed files with 12 additions and 0 deletions

View File

@ -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
PartitionViewStep::onLeave()
{

View File

@ -61,6 +61,7 @@ public:
bool isAtBeginning() const override;
bool isAtEnd() const override;
void onActivate() override;
void onLeave() override;
void setConfigurationMap( const QVariantMap& configurationMap ) override;