##// END OF EJS Templates
change dateTime method for range method
perrinel -
r534:97af8d6f7e1c
parent child
Show More
@@ -160,9 +160,9 QVariant VariableModel::data(const QModelIndex &index, int role) const
160 case NAME_COLUMN:
160 case NAME_COLUMN:
161 return variable->name();
161 return variable->name();
162 case TSTART_COLUMN:
162 case TSTART_COLUMN:
163 return dateTimeVariant(variable->dateTime().m_TStart);
163 return dateTimeVariant(variable->range().m_TStart);
164 case TEND_COLUMN:
164 case TEND_COLUMN:
165 return dateTimeVariant(variable->dateTime().m_TEnd);
165 return dateTimeVariant(variable->range().m_TEnd);
166 default:
166 default:
167 // No action
167 // No action
168 break;
168 break;
General Comments 0
You need to be logged in to leave comments. Login now