mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
undo: add a general dives-imported signal
Add a general dives-imported signal for those cases where we want to fully rebuild models, notably, the completion models. The divesAdded signals are too fine, because they are sent per trip and we don't want to reload these models multiple times per import. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
67d956b44c
commit
52d5125926
2 changed files with 3 additions and 0 deletions
|
@ -565,6 +565,8 @@ void ImportDives::redoit()
|
|||
emit diveListNotifier.filterPresetAdded(filterPresetsToRemove.back());
|
||||
}
|
||||
filterPresetsToAdd.clear();
|
||||
|
||||
emit diveListNotifier.divesImported();
|
||||
}
|
||||
|
||||
void ImportDives::undoit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue