[partition] Always update EncryptWidget's m_state when updateState is called
This commit is contained in:
parent
cbe39e1324
commit
cc96e65787
@ -184,13 +184,10 @@ EncryptWidget::updateState( const bool notify )
|
||||
|
||||
Encryption newState = state();
|
||||
|
||||
if ( newState != m_state )
|
||||
m_state = newState;
|
||||
if ( notify )
|
||||
{
|
||||
m_state = newState;
|
||||
if ( notify )
|
||||
{
|
||||
Q_EMIT stateChanged( m_state );
|
||||
}
|
||||
Q_EMIT stateChanged( m_state );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user