From 38c2779e95311f1d9dac4a9d9469b0489b395333 Mon Sep 17 00:00:00 2001 From: Enar Vaikene Date: Fri, 9 Jan 2015 08:30:11 +0200 Subject: [PATCH] Fixed ASD date/time entry * The ISO/ASD date/time entry field did not allow conversion to ISO date/time if an ASD date/time was entered. --- 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 74d980e..d047613 100644 --- a/src/apps/ScosTime/gui.cpp +++ b/src/apps/ScosTime/gui.cpp @@ -430,7 +430,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