From 825c92582ae00973396aa45b3469da8d9d0e9331 Mon Sep 17 00:00:00 2001 From: The feren OS Dev Date: Tue, 16 Apr 2019 17:20:39 +0100 Subject: [PATCH] Update ViewManager.cpp --- src/libcalamaresui/ViewManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libcalamaresui/ViewManager.cpp b/src/libcalamaresui/ViewManager.cpp index f9a7c9e06..e587deed9 100644 --- a/src/libcalamaresui/ViewManager.cpp +++ b/src/libcalamaresui/ViewManager.cpp @@ -1,5 +1,7 @@ /* === This file is part of Calamares - === * + * Copyright 2019, Dominic Hayes + * Copyright 2019, abucodonosor * Copyright 2014-2015, Teo Mrnjavac * Copyright 2017-2018, Adriaan de Groot * @@ -281,6 +283,8 @@ ViewManager::next() { m_back->setEnabled( false ); m_next->setEnabled( false ); + if (Calamares::Settings::instance()->dontCancel()) + m_quit->setEnabled( false ); } } else