From 7b09344a8b7f55c1699caa3ae5bcd516c2b78791 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 29 Mar 2021 14:24:56 +0200 Subject: [PATCH] [partition] Update next-button You'll need a VM with 2 disks to demonstrate: - Configure Calamares to pick "none" as initial action on the partition page (this is a safe choice), - Enter partition page, - No action is selected, and the next> button is greyed out. - Click erase; notice next> is now available. - Change devices, notice no action is selected, but next> is still available. Clicking on it, though, does nothing. When changing to "no action", update the next-button's availability. --- src/modules/partition/gui/ChoicePage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index ec11f6cc0..98435021c 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -517,6 +517,7 @@ ChoicePage::applyActionChoice( InstallChoice choice ) break; case InstallChoice::NoChoice: case InstallChoice::Manual: + updateNextEnabled(); break; } updateActionChoicePreview( choice );