diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index 2a18b4eab..9790fc387 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -456,11 +456,7 @@ ChoicePage::applyActionChoice( ChoicePage::Choice choice ) { QFutureWatcher< void > watcher; connect( &watcher, &QFutureWatcher< void >::finished, - this, [=] - { - doReplace(); - updateActionChoicePreview( currentChoice() ); - } ); + this, doReplace ); QFuture< void > future = QtConcurrent::run( [=] {