Changeset - 1920946627a9
[Not reviewed]
stream
0 1 0
Hasan Yavuz Ă–ZDERYA - 7 years ago 2018-05-26 16:17:34
hy@ozderya.net
fix snapshot display
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/plotmanager.cpp
Show inline comments
 
@@ -67,13 +67,13 @@ PlotManager::PlotManager(QWidget* plotAr
 

	
 
    setNumOfSamples(snapshot->numSamples());
 
    setPlotWidth(snapshot->numSamples());
 
    infoModel = snapshot->infoModel();
 

	
 
    for (unsigned ci = 0; ci < snapshot->numChannels(); ci++)
 
    {
 
        addCurve(snapshot->channelName(ci), snapshot->data[ci]);
 
    }
 

	
 
    infoModel = snapshot->infoModel();
 
    connect(infoModel, &QAbstractItemModel::dataChanged,
 
            this, &PlotManager::onChannelInfoChanged);
 
}
0 comments (0 inline, 0 general)