Reset previous spinBox value on resizer widget reset.

This commit is contained in:
Teo Mrnjavac 2016-06-24 17:00:55 +02:00
parent 1f664f1eec
commit a96b7c1596

View File

@ -59,6 +59,7 @@ PartitionSizeController::setPartResizerWidget( PartResizerWidget* widget, bool f
disconnect( m_partResizerWidget, 0, this, 0 );
m_dirty = false;
m_currentSpinBoxValue = -1;
// Update partition filesystem. This must be done *before* the call to
// PartResizerWidget::init() otherwise it will be ignored by the widget.