From: Enar Vaikene Date: Fri, 9 Jan 2015 06:30:11 +0000 (+0200) Subject: Fixed ASD date/time entry X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=commitdiff_plain;h=refs%2Fheads%2Fqt4;p=evaf 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. --- 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));