summaryrefslogtreecommitdiffstats
path: root/map-widget/qml
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-08-30 22:19:23 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-09-06 11:48:47 -0700
commitf818ac3352b5a66d6fcc452ddc5ebb84a18bb29a (patch)
tree4f2af3624ea3854e7f876e2bcb506943d0a19453 /map-widget/qml
parenta921acb3ce30ef5cbc4ea8093fcc0bdae13fb109 (diff)
downloadsubsurface-f818ac3352b5a66d6fcc452ddc5ebb84a18bb29a.tar.gz
Map: replace enterEditMode()/exitEditMode() by updateEditMode()
There weree two functions in MapWidgetHelper: one to enter and one to exit edit mode. Both functions set the flag and emitted a signal if the flag had changed. Since the edit mode only depends on a flag of the filter this can be simplified to a simple function that updates the flag and raises the signal if the flag changed. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'map-widget/qml')
0 files changed, 0 insertions, 0 deletions