Mercurial > hg > svgui
diff layer/TimeInstantLayer.cpp @ 10:8f5b812baaee
* Hook up SV file i/o. You can now save and load sessions.
Some problems -- gain is not reloaded correctly for waveforms,
reloaded panes are not properly reconnected to the panner, and
no doubt plenty of others.
author | Chris Cannam |
---|---|
date | Tue, 17 Jan 2006 17:45:55 +0000 |
parents | 02aaea1ffaf7 |
children | 2d5005f2b3d9 |
line wrap: on
line diff
--- a/layer/TimeInstantLayer.cpp Mon Jan 16 18:04:09 2006 +0000 +++ b/layer/TimeInstantLayer.cpp Tue Jan 17 17:45:55 2006 +0000 @@ -68,8 +68,8 @@ if (name == tr("Colour")) { - *min = 0; - *max = 5; + if (min) *min = 0; + if (max) *max = 5; if (m_colour == Qt::black) deft = 0; else if (m_colour == Qt::darkRed) deft = 1;