From 877fa98ea63f3af459b9a401805e4c73a3d3f941 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Tue, 9 Feb 2016 13:02:51 +0100 Subject: [PATCH] Revert all devices if core dirty on device choice. --- src/modules/partition/gui/ChoicePage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index 89b7cdd0a..ed19eb2d9 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -306,7 +306,7 @@ ChoicePage::applyDeviceChoice() if ( m_core->isDirty() ) { - m_core->revertDevice( selectedDevice() ); + m_core->revertAllDevices(); } Device* currd = selectedDevice();