From a96b7c159672d65506aa703ca968ae4ad2db7508 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac <teo@kde.org> Date: Fri, 24 Jun 2016 17:00:55 +0200 Subject: [PATCH] Reset previous spinBox value on resizer widget reset. --- src/modules/partition/gui/PartitionSizeController.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/partition/gui/PartitionSizeController.cpp b/src/modules/partition/gui/PartitionSizeController.cpp index 18d0470c56..73e6bfdb4b 100644 --- a/src/modules/partition/gui/PartitionSizeController.cpp +++ b/src/modules/partition/gui/PartitionSizeController.cpp @@ -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. -- GitLab