From 51d0d9f9b4c47e8f06c1cf893b967afb5167b0b5 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Fri, 20 Nov 2015 17:39:08 +0100 Subject: [PATCH] Disable next on last page. --- src/libcalamaresui/ViewManager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libcalamaresui/ViewManager.cpp b/src/libcalamaresui/ViewManager.cpp index 32b0d4584..6175b3985 100644 --- a/src/libcalamaresui/ViewManager.cpp +++ b/src/libcalamaresui/ViewManager.cpp @@ -265,7 +265,10 @@ ViewManager::next() if ( m_currentStep == m_steps.count() -1 && m_steps.last()->isAtEnd() ) + { + m_next->setEnabled( false ); m_quit->setText( tr( "&Quit" ) ); + } }