X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fwidgets%2Ftimestampspinbox.cpp;h=233ff6484f562b9d723a0bd74a9e587c82fc686d;hp=59af82f65407629b0937ec66bc14308b190188d1;hb=3ccf0f7f5b1b31ac628a983a2becee6f4c4c1507;hpb=adb3831eeae71b69bb035c9af713ea1f8623407f diff --git a/pv/widgets/timestampspinbox.cpp b/pv/widgets/timestampspinbox.cpp index 59af82f6..233ff648 100644 --- a/pv/widgets/timestampspinbox.cpp +++ b/pv/widgets/timestampspinbox.cpp @@ -113,8 +113,8 @@ void TimestampSpinBox::on_editingFinished() void TimestampSpinBox::updateEdit() { - QString newtext = pv::util::format_si_value( - value_, "s", pv::util::SIPrefix::none, precision_); + QString newtext = pv::util::format_time_si( + value_, pv::util::SIPrefix::none, precision_); lineEdit()->setText(newtext); }