Make sure we update the splitter widget after a rescan.

main
Teo Mrnjavac 9 years ago
parent 576fdcc7a0
commit 423d2dfc5c

@ -466,7 +466,12 @@ ChoicePage::applyActionChoice( ChoicePage::Choice choice )
QMutexLocker locker( &m_coreMutex ); QMutexLocker locker( &m_coreMutex );
m_core->revertDevice( selectedDevice() ); m_core->revertDevice( selectedDevice() );
} ), } ),
[]{}, [this]
{
// We need to reupdate after reverting because the splitter widget is
// not a true view.
updateActionChoicePreview( currentChoice() );
},
this ); this );
} }
setNextEnabled( !m_beforePartitionBarsView->selectionModel()->selectedRows().isEmpty() ); setNextEnabled( !m_beforePartitionBarsView->selectionModel()->selectedRows().isEmpty() );

Loading…
Cancel
Save