comparison framework/MainWindowBase.cpp @ 194:302dae1f6016

* Add option to import time+duration (or time+endtime) from CSV files (importing to Region layers) * Fix ffwd/rwd in Region layers so as to behave like time-value layers
author Chris Cannam
date Thu, 08 Jul 2010 14:22:28 +0000
parents 68a0a2625a66
children 944af6246560
comparison
equal deleted inserted replaced
193:0b3aa9b702bb 194:302dae1f6016
2325 2325
2326 Layer *layer = pane->getSelectedLayer(); 2326 Layer *layer = pane->getSelectedLayer();
2327 2327
2328 if (!dynamic_cast<TimeInstantLayer *>(layer) && 2328 if (!dynamic_cast<TimeInstantLayer *>(layer) &&
2329 !dynamic_cast<TimeValueLayer *>(layer) && 2329 !dynamic_cast<TimeValueLayer *>(layer) &&
2330 !dynamic_cast<RegionLayer *>(layer) &&
2330 !dynamic_cast<TimeRulerLayer *>(layer)) { 2331 !dynamic_cast<TimeRulerLayer *>(layer)) {
2331 2332
2332 layer = 0; 2333 layer = 0;
2333 2334
2334 for (int i = pane->getLayerCount(); i > 0; --i) { 2335 for (int i = pane->getLayerCount(); i > 0; --i) {