From: Enar Väikene Date: Fri, 6 Jun 2014 05:42:13 +0000 (+0300) Subject: Fixed date/time edit call-back that only allowed conversion X-Git-Url: https://vaikene.ee/gitweb/index.html?a=commitdiff_plain;h=54ba529e92fc38a29f5b5dd29cffd1769811bebe;p=evaf Fixed date/time edit call-back that only allowed conversion from ISO to ASD, but not from ASD to ISO. --- 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));