Changeset - 5411a8897241
[Not reviewed]
default
0 1 0
Hasan Yavuz Ă–ZDERYA - 8 years ago 2017-08-13 11:13:18
hy@ozderya.net
fix empty plots appear when switching to multi mode while channels are hidden
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/plotmanager.cpp
Show inline comments
 
@@ -224,7 +224,9 @@ void PlotManager::setMulti(bool enabled)
 
        // add new widgets and attach
 
        for (auto curve : curves)
 
        {
 
            curve->attach(addPlotWidget());
 
            auto plot = addPlotWidget();
 
            plot->setVisible(curve->isVisible());
 
            curve->attach(plot);
 
        }
 
    }
 
    else
0 comments (0 inline, 0 general)