Make sure we update the splitter widget after a rescan.

This commit is contained in:
Teo Mrnjavac 2016-01-14 16:03:39 +01:00
parent 576fdcc7a0
commit 423d2dfc5c

View File

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