mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 10:40:42 +00:00
Fix graphView scale glitch when hiding graphs
This commit is contained in:
parent
263530746f
commit
3109d7e5a9
@ -2581,6 +2581,7 @@ bool gGraphView::LoadSettings(QString title)
|
||||
}
|
||||
|
||||
f.close();
|
||||
updateScale();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -495,6 +495,7 @@ void PreferencesDialog::on_graphModel_changed(QStandardItem * item)
|
||||
}
|
||||
|
||||
}
|
||||
gv->updateScale();
|
||||
// qDebug() << name << checked;
|
||||
}
|
||||
|
||||
@ -621,6 +622,7 @@ void PreferencesDialog::on_resetGraphButton_clicked()
|
||||
g->setRecMinY(0);
|
||||
g->setVisible(true);
|
||||
}
|
||||
gv[j]->updateScale();
|
||||
}
|
||||
}
|
||||
resetGraphModel();
|
||||
|
Loading…
Reference in New Issue
Block a user