diff --git a/Graphs/gGraphView.cpp b/Graphs/gGraphView.cpp index d25ebbac..1b1aa9e8 100644 --- a/Graphs/gGraphView.cpp +++ b/Graphs/gGraphView.cpp @@ -2581,6 +2581,7 @@ bool gGraphView::LoadSettings(QString title) } f.close(); + updateScale(); return true; } diff --git a/preferencesdialog.cpp b/preferencesdialog.cpp index 033433b2..387681d2 100644 --- a/preferencesdialog.cpp +++ b/preferencesdialog.cpp @@ -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();