diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-12-29 22:49:40 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-01-10 15:57:39 -0800 |
commit | dd0939b6f5c9c7399183f2a36b2be77521886ef0 (patch) | |
tree | d8e6fec81774da585c55432be19f414e6ad20f41 /.gitattributes | |
parent | f4103e4998d0a2512b6b8db931a81911b3e908a0 (diff) | |
download | subsurface-dd0939b6f5c9c7399183f2a36b2be77521886ef0.tar.gz |
profile: explicitly update gas-axis
On each profile replot, the gas axis was implicitly reset
by calling "dataModel->emitDataChanged()", which would send
a signal recieved by the axis. To make the code less confusing
and, more importantly, make order of execution deterministic,
explicitly reset the axis.
Rename the function that resets the axis from "settingsChanged"
to "update" to reflect its usage.
Moreover, remove the "setModel()" function and pass the model
to the constructore. Make it a const reference to make clear
that it can't change during the life time of the axis.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions