]> sigrok.org Git - pulseview.git/blobdiff - pv/widgets/timestampspinbox.cpp
Various minor whitespace and consistency fixes.
[pulseview.git] / pv / widgets / timestampspinbox.cpp
index 233ff6484f562b9d723a0bd74a9e587c82fc686d..463a846277d814bcebed936335e18d73a6314f55 100644 (file)
@@ -104,8 +104,7 @@ void TimestampSpinBox::on_editingFinished()
                captures.removeFirst(); // remove entire match
                QString str = captures.join("");
                setValue(pv::util::Timestamp(str.toStdString()));
-       }
-       else {
+       } else {
                // replace the malformed entered string with the old value
                updateEdit();
        }