From bddca1ecc96480ee763efbd717b5e23a18bd05d0 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Thu, 28 Nov 2019 15:26:09 +0100 Subject: Cleanup: remove unpaired rememberSelection() call The old renumbering-dives code had to remember and restore the selection. This became unnecessary with the undo-code. The restore-call was removed, the remember-call left in. Remove it as well. Signed-off-by: Berthold Stoeger --- desktop-widgets/simplewidgets.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'desktop-widgets/simplewidgets.cpp') diff --git a/desktop-widgets/simplewidgets.cpp b/desktop-widgets/simplewidgets.cpp index c89698e8c..84fa66271 100644 --- a/desktop-widgets/simplewidgets.cpp +++ b/desktop-widgets/simplewidgets.cpp @@ -149,7 +149,6 @@ void RenumberDialog::renumberOnlySelected(bool selected) void RenumberDialog::buttonClicked(QAbstractButton *button) { if (ui.buttonBox->buttonRole(button) == QDialogButtonBox::AcceptRole) { - MainWindow::instance()->diveList->rememberSelection(); // we remember a list from dive uuid to a new number QVector> renumberedDives; int i; -- cgit v1.2.3-70-g09d2