Force a device state preview update after async rescan.

main
Teo Mrnjavac 9 years ago
parent 5f282d50dc
commit 95239af830

@ -456,7 +456,11 @@ ChoicePage::applyActionChoice( ChoicePage::Choice choice )
{ {
QFutureWatcher< void > watcher; QFutureWatcher< void > watcher;
connect( &watcher, &QFutureWatcher< void >::finished, connect( &watcher, &QFutureWatcher< void >::finished,
this, doReplace ); this, [=]
{
doReplace();
updateActionChoicePreview( currentChoice() );
} );
QFuture< void > future = QtConcurrent::run( [=] QFuture< void > future = QtConcurrent::run( [=]
{ {

Loading…
Cancel
Save