Make sure we update the splitter widget after a rescan.
This commit is contained in:
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…
Reference in New Issue
Block a user