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 <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
e46b1e88d9
commit
bddca1ecc9
@ -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<QPair<dive *, int>> renumberedDives;
|
||||
int i;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user