Force a device state preview update after async rescan.
This commit is contained in:
parent
5f282d50dc
commit
95239af830
@ -456,7 +456,11 @@ ChoicePage::applyActionChoice( ChoicePage::Choice choice )
|
||||
{
|
||||
QFutureWatcher< void > watcher;
|
||||
connect( &watcher, &QFutureWatcher< void >::finished,
|
||||
this, doReplace );
|
||||
this, [=]
|
||||
{
|
||||
doReplace();
|
||||
updateActionChoicePreview( currentChoice() );
|
||||
} );
|
||||
|
||||
QFuture< void > future = QtConcurrent::run( [=]
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user