subsurface/desktop-widgets
Berthold Stoeger 5d49da5d6b selection: move test for programmatical selection changes to widget
The DiveListView widget has to differentiate between programmatical
und user-initiated selection changes. It did so by using the
DiveListNotifier::inCommand() flag.

However,
1) There is only one point of entry for such selection changes,
   viz. the MultiFilterSortModel::selectionChanged() signal
2) This signal is not only emitted in command-context.
   Another source is for example dive-map selection changes.

Therefore, move the programmatical-selection-change status down
to the widget and set/reset it in the diveSelectionChanged() slot.
This makes "select all visible dive sites" somewhat faster. Sadly,
not as much as expected.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2020-04-26 13:54:59 -07:00
..
2015-10-30 10:36:49 -07:00
2020-03-22 12:01:59 -07:00
2017-04-29 13:32:55 -07:00
2017-11-30 23:14:46 -08:00
2020-04-19 14:27:54 -07:00
2020-01-24 09:51:02 -08:00
2020-01-24 09:51:02 -08:00
2020-03-19 08:37:59 -07:00
2020-04-19 14:27:54 -07:00
2020-04-19 14:27:54 -07:00
2015-10-30 10:36:49 -07:00
2017-11-30 23:14:46 -08:00
2017-11-30 23:14:46 -08:00
2017-11-30 23:14:46 -08:00
2017-11-30 23:14:46 -08:00
2015-10-30 10:36:49 -07:00
2017-11-30 23:14:46 -08:00