From 3c7a6ab7506ac311fdf9bfdf5fe70082bf2f7689 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 21 May 2014 13:00:16 -0300 Subject: [PATCH] Don't replot every time a pref changes, regardless of what preferences. The list of preferences that should trigger a full repaint are at the top of this method, *if* this introduces a bug it is because some of the preferences are not being correctly triaged yet and that needs to be fixed. Regardless of that, now the profile will only enable / disable the *ruler* instead of replotting everything. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/profile/profilewidget2.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index d222ad940..fbbf3df19 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -501,7 +501,6 @@ void ProfileWidget2::settingsChanged() if (currentState == PROFILE) { rulerItem->setVisible(prefs.rulergraph); - needReplot = true; } else { rulerItem->setVisible(false); }