Changeset - 655c5c52b942
[Not reviewed]
default
0 1 0
Hasan Yavuz Ă–ZDERYA - 9 years ago 2017-04-01 13:06:48
hy@ozderya.net
fix for scaling settings applied wrong

these slots are also triggered when loading settings thus should be ignored properly
1 file changed with 6 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/plotcontrolpanel.cpp
Show inline comments
 
@@ -211,8 +211,11 @@ void PlotControlPanel::onAutoScaleChecke
 

	
 
void PlotControlPanel::onYScaleChanged()
 
{
 
    if (!autoScale())
 
    {
 
    emit yScaleChanged(false, ui->spYmin->value(), ui->spYmax->value());
 
}
 
}
 

	
 
bool PlotControlPanel::autoScale() const
 
{
 
@@ -276,8 +279,11 @@ void PlotControlPanel::onIndexChecked(bo
 

	
 
void PlotControlPanel::onXScaleChanged()
 
{
 
    if (!xAxisAsIndex())
 
    {
 
    emit xScaleChanged(false, ui->spXmin->value(), ui->spXmax->value());
 
}
 
}
 

	
 
void PlotControlPanel::setChannelInfoModel(ChannelInfoModel* model)
 
{
0 comments (0 inline, 0 general)