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 <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1988da779f
commit
3c7a6ab750
@ -501,7 +501,6 @@ void ProfileWidget2::settingsChanged()
|
||||
|
||||
if (currentState == PROFILE) {
|
||||
rulerItem->setVisible(prefs.rulergraph);
|
||||
needReplot = true;
|
||||
} else {
|
||||
rulerItem->setVisible(false);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user