mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
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
1 changed files with 0 additions and 1 deletions
|
@ -501,7 +501,6 @@ void ProfileWidget2::settingsChanged()
|
|||
|
||||
if (currentState == PROFILE) {
|
||||
rulerItem->setVisible(prefs.rulergraph);
|
||||
needReplot = true;
|
||||
} else {
|
||||
rulerItem->setVisible(false);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue