diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-11-21 16:41:46 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-11-21 10:29:15 -0800 |
commit | 5d8830750addc4bcf0f06d7ffa24012927143e59 (patch) | |
tree | 63433818f6933e9604569eff58c8ff38b18f28b0 | |
parent | 6bf4120dbbf7be1b9267e0e86f3948b77870ea71 (diff) | |
download | subsurface-5d8830750addc4bcf0f06d7ffa24012927143e59.tar.gz |
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>
-rw-r--r-- | desktop-widgets/mainwindow.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index f5e63851c..99942ec56 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -1062,8 +1062,6 @@ void MainWindow::on_actionAutoGroup_triggered() Command::autogroupDives(); else Command::removeAutogenTrips(); - refreshDisplay(); - mark_divelist_changed(true); } void MainWindow::on_actionYearlyStatistics_triggered() |