mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-22 12:08:43 -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
|
||||
{
|
||||
ui->widePlot->setPlot2dZero(value);
|
||||
if(ui->widePlot->TotalPower()) {
|
||||
if(ui->widePlot->TotalPower()) return;
|
||||
if(ui->widePlot->scaleOK ()) {
|
||||
ui->widePlot->draw(m_swide,false,false);
|
||||
} else {
|
||||
if(ui->widePlot->scaleOK ()) {
|
||||
ui->widePlot->draw(m_swide,false,false);
|
||||
if(m_mode=="Q65") ui->widePlot->draw(m_swide,false,true);
|
||||
}
|
||||
if(m_mode=="Q65") ui->widePlot->draw(m_swide,false,true);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user