From 54ba529e92fc38a29f5b5dd29cffd1769811bebe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Enar=20V=C3=A4ikene?= Date: Fri, 6 Jun 2014 08:42:13 +0300 Subject: [PATCH] Fixed date/time edit call-back that only allowed conversion from ISO to ASD, but not from ASD to ISO. --- src/apps/ScosTime/gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/ScosTime/gui.cpp b/src/apps/ScosTime/gui.cpp index e8c2ae9..6b4b116 100644 --- a/src/apps/ScosTime/gui.cpp +++ b/src/apps/ScosTime/gui.cpp @@ -428,7 +428,7 @@ void Module::dateTimeEdited(QString const & s) wConvertDateTime->setEnabled(true); wConvertDateTime->setText(tr("&to ASD", VER_MODULE_NAME_STR)); } - else if (mDateTime.type() == Internal::DateTime::ISO) + else if (mDateTime.type() == Internal::DateTime::ASD) { wConvertDateTime->setEnabled(true); wConvertDateTime->setText(tr("&to ISO", VER_MODULE_NAME_STR)); -- 2.47.0