diff --git a/GUI/View/Device/FootprintForm.cpp b/GUI/View/Device/FootprintForm.cpp
index a88e656e94228ded47509bace5c30ef477d5c19d..d999090321bb44d299e8399736f4123434f3521b 100644
--- a/GUI/View/Device/FootprintForm.cpp
+++ b/GUI/View/Device/FootprintForm.cpp
@@ -46,19 +46,19 @@ void FootprintForm::updateFootprintWidgets()
         m_form_layout->removeRow(1);
 
     int sb_width = 134;
-    auto* footprintItem = m_item->footprintSelection().certainItem();
-    if (auto* sqr = dynamic_cast<FootprintSquareItem*>(footprintItem)) {
-        auto* sb = GUI::Util::addDoubleSpinBoxRow(m_form_layout, sqr->squareFootprintValue());
+    auto* t = m_item->footprintSelection().certainItem();
+    if (auto* tt = dynamic_cast<FootprintSquareItem*>(t)) {
+        auto* sb = GUI::Util::addDoubleSpinBoxRow(m_form_layout, tt->squareFootprintValue());
         sb->setMinimumWidth(sb_width);
-        connect(sb, &DSpinBox::valueChanged, [this, sqr](double v) {
-            sqr->setSquareFootprintValue(v);
+        connect(sb, &DSpinBox::valueChanged, [this, tt](double v) {
+            tt->setSquareFootprintValue(v);
             emit dataChanged();
         });
-    } else if (auto* gs = dynamic_cast<FootprintGaussianItem*>(footprintItem)) {
-        auto* sb = GUI::Util::addDoubleSpinBoxRow(m_form_layout, gs->gaussianFootprintValue());
+    } else if (auto* tt = dynamic_cast<FootprintGaussianItem*>(t)) {
+        auto* sb = GUI::Util::addDoubleSpinBoxRow(m_form_layout, tt->gaussianFootprintValue());
         sb->setMinimumWidth(sb_width);
-        connect(sb, &DSpinBox::valueChanged, [this, gs](double v) {
-            gs->setGaussianFootprintValue(v);
+        connect(sb, &DSpinBox::valueChanged, [this, tt](double v) {
+            tt->setGaussianFootprintValue(v);
             emit dataChanged();
         });
     }