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
@ -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…
x
Reference in New Issue
Block a user