mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Desktop: don't refresh display on autogroup
The whole point of the undo-command system is that the divelist doesn't have to be refreshed. Therefore, don't do it for autogrouping / deautogrouping. Moreover, the divelist-changed flag is also set by the command and doesn't have to be set explicitly. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
6bf4120dbb
commit
5d8830750a
1 changed files with 0 additions and 2 deletions
|
@ -1062,8 +1062,6 @@ void MainWindow::on_actionAutoGroup_triggered()
|
|||
Command::autogroupDives();
|
||||
else
|
||||
Command::removeAutogenTrips();
|
||||
refreshDisplay();
|
||||
mark_divelist_changed(true);
|
||||
}
|
||||
|
||||
void MainWindow::on_actionYearlyStatistics_triggered()
|
||||
|
|
Loading…
Add table
Reference in a new issue