mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-30 21:32:29 -04:00
Diasble zero2dSlider when WideGraph is plotting in TotalPower mode.
This commit is contained in:
parent
7ed12d8507
commit
7656475fdc
@ -491,13 +491,10 @@ void WideGraph::on_gain2dSlider_valueChanged(int value) //Gain2
|
|||||||
void WideGraph::on_zero2dSlider_valueChanged(int value) //Zero2
|
void WideGraph::on_zero2dSlider_valueChanged(int value) //Zero2
|
||||||
{
|
{
|
||||||
ui->widePlot->setPlot2dZero(value);
|
ui->widePlot->setPlot2dZero(value);
|
||||||
if(ui->widePlot->TotalPower()) {
|
if(ui->widePlot->TotalPower()) return;
|
||||||
|
if(ui->widePlot->scaleOK ()) {
|
||||||
ui->widePlot->draw(m_swide,false,false);
|
ui->widePlot->draw(m_swide,false,false);
|
||||||
} else {
|
if(m_mode=="Q65") ui->widePlot->draw(m_swide,false,true);
|
||||||
if(ui->widePlot->scaleOK ()) {
|
|
||||||
ui->widePlot->draw(m_swide,false,false);
|
|
||||||
if(m_mode=="Q65") ui->widePlot->draw(m_swide,false,true);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user