Skip to content
Snippets Groups Projects
Commit 0f40e8f3 authored by Teo Mrnjavac's avatar Teo Mrnjavac
Browse files

Refresh summary widgets on leave.

parent 2c688024
Branches
Tags
No related merge requests found
......@@ -35,6 +35,7 @@ public:
explicit SummaryPage( const SummaryViewStep* thisViewStep, QWidget* parent = nullptr );
void onActivate();
void createContentWidget();
private:
Calamares::ViewStepList stepsForSummary( const Calamares::ViewStepList& allSteps ) const;
......@@ -44,7 +45,6 @@ private:
QVBoxLayout* m_layout = nullptr;
QWidget* m_contentWidget = nullptr;
void createContentWidget();
QLabel* createTitleLabel( const QString& text ) const;
QLabel* createBodyLabel( const QString& text ) const;
......
......@@ -104,3 +104,10 @@ SummaryViewStep::onActivate()
m_widget->onActivate();
}
void
SummaryViewStep::onLeave()
{
m_widget->createContentWidget();
}
......@@ -52,6 +52,7 @@ public:
QList< Calamares::job_ptr > jobs() const override;
void onActivate() override;
void onLeave() override;
private:
SummaryPage* m_widget;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment