mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
Clear selection on action change no matter what.
This commit is contained in:
parent
74ba1df25f
commit
6ce932870f
1 changed files with 3 additions and 3 deletions
|
@ -418,6 +418,9 @@ ChoicePage::applyActionChoice( ChoicePage::Choice choice )
|
|||
{
|
||||
m_beforePartitionBarsView->selectionModel()->
|
||||
disconnect( SIGNAL( currentRowChanged( QModelIndex, QModelIndex ) ) );
|
||||
m_beforePartitionBarsView->selectionModel()->clearSelection();
|
||||
m_beforePartitionBarsView->selectionModel()->clearCurrentIndex();
|
||||
|
||||
switch ( choice )
|
||||
{
|
||||
case Erase:
|
||||
|
@ -441,9 +444,6 @@ ChoicePage::applyActionChoice( ChoicePage::Choice choice )
|
|||
case Replace:
|
||||
if ( m_core->isDirty() )
|
||||
{
|
||||
m_beforePartitionBarsView->selectionModel()->clearSelection();
|
||||
m_beforePartitionBarsView->selectionModel()->clearCurrentIndex();
|
||||
|
||||
ScanningDialog::run( QtConcurrent::run( [ = ]
|
||||
{
|
||||
QMutexLocker locker( &m_coreMutex );
|
||||
|
|
Loading…
Add table
Reference in a new issue