idok-commit AT lists.psi.ch
Subject: Commit emails of the iDok project
List archive
- From: "Apache" <apache AT savannah.psi.ch>
- To: idok-commit AT lists.psi.ch
- Subject: [idok-commit] idok commit r132 - trunk/java/ch/idok/qtgui
- Date: Thu, 3 Jul 2008 13:44:10 +0200
- List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
- List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>
Author: huebner AT PSI.CH
Date: Thu Jul 3 13:44:10 2008
New Revision: 132
Log:
Fixed Bug #IDO-184: Date fields in meta data entry form must be changed
explicitly
Modified:
trunk/java/ch/idok/qtgui/MetaDataController.java
Modified: trunk/java/ch/idok/qtgui/MetaDataController.java
==============================================================================
--- trunk/java/ch/idok/qtgui/MetaDataController.java (original)
+++ trunk/java/ch/idok/qtgui/MetaDataController.java Thu Jul 3 13:44:10
2008
@@ -537,7 +537,7 @@
if (mandatory)
keyLabel.setFont(BOLD_FONT);
} else {
- field = new QDateTimeEdit(QDateTime.currentDateTime());
+ field = new QDateTimeEdit();
}
((QDateTimeEdit) field)
.setDisplayFormat("dd.MMM.yyyy hh.mm.ss");
@@ -549,6 +549,8 @@
widgetMap_.put(key, field);
((QDateTimeEdit) field).dateTimeChanged.connect(this,
"modifyMetaData(QDateTime)");
+ ((QDateTimeEdit)
field).setDateTime(QDateTime.currentDateTime());
+
}
} else if (type.equals("ntuple")) {
- [idok-commit] idok commit r132 - trunk/java/ch/idok/qtgui, Apache, 07/03/2008
Archive powered by MHonArc 2.6.19.