diff --git a/sleepyhead/Graphs/gGraphView.cpp b/sleepyhead/Graphs/gGraphView.cpp index 2ecf9cd4..66026046 100644 --- a/sleepyhead/Graphs/gGraphView.cpp +++ b/sleepyhead/Graphs/gGraphView.cpp @@ -849,6 +849,8 @@ void gToolTip::paint() //actually paints it. painter.drawRoundedRect(rect,5,5); painter.setBrush(Qt::black); + painter.setFont(*defaultfont); + painter.drawText(rect,Qt::AlignCenter,m_text); painter.end(); diff --git a/sleepyhead/preferencesdialog.cpp b/sleepyhead/preferencesdialog.cpp index a2d67a60..0c626532 100644 --- a/sleepyhead/preferencesdialog.cpp +++ b/sleepyhead/preferencesdialog.cpp @@ -493,7 +493,7 @@ bool PreferencesDialog::Save() } //PROFILE.Save(); - //PREF.Save(); + PREF.Save(); if (recalc_events) { // send a signal instead?