diff options
Diffstat (limited to 'Userland/Libraries/LibGUI/Wizards/WizardDialog.cpp')
-rw-r--r-- | Userland/Libraries/LibGUI/Wizards/WizardDialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGUI/Wizards/WizardDialog.cpp b/Userland/Libraries/LibGUI/Wizards/WizardDialog.cpp index 81b593a78b..d612ddf6ce 100644 --- a/Userland/Libraries/LibGUI/Wizards/WizardDialog.cpp +++ b/Userland/Libraries/LibGUI/Wizards/WizardDialog.cpp @@ -76,7 +76,7 @@ WizardDialog::WizardDialog(Window* parent_window) void WizardDialog::push_page(AbstractWizardPage& page) { if (!m_page_stack.is_empty()) - m_page_stack.last().page_leave(); + m_page_stack.last()->page_leave(); m_page_stack.append(page); m_page_container_widget->remove_all_children(); @@ -111,7 +111,7 @@ void WizardDialog::pop_page() m_page_container_widget->add_child(m_page_stack.last()); update_navigation(); - m_page_stack.last().page_enter(); + m_page_stack.last()->page_enter(); } void WizardDialog::update_navigation() |