diff --git a/GUI/View/SampleDesigner/SampleEditorController.cpp b/GUI/View/SampleDesigner/SampleEditorController.cpp
index 67238d7e4661c1a8cd7f237207a347c2b4632e82..58406ed21e5ee5eb4cc10a044386c03463d2c4fb 100644
--- a/GUI/View/SampleDesigner/SampleEditorController.cpp
+++ b/GUI/View/SampleDesigner/SampleEditorController.cpp
@@ -347,25 +347,7 @@ void SampleEditorController::removeParticle(ItemWithParticles* itemToRemove)
 
 void SampleEditorController::setDouble(double value, DoubleProperty& d)
 {
-    ASSERT(m_sampleForm);
-
-    DoubleSpinBox* spinBox = nullptr;
-    for (auto* s : m_sampleForm->findChildren<DoubleSpinBox*>()) {
-        if (s->uid() == d.uid()) {
-            spinBox = s;
-            break;
-        }
-    }
-
-    if (!spinBox)
-        return;
-
     d.setValue(value);
-
-    QSignalBlocker _(spinBox);
-    spinBox->setBaseValue(value);
-    spinBox->setFocus();
-    spinBox->selectAll();
     emit modified();
 }