summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/divelistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/divelistview.cpp')
-rw-r--r--desktop-widgets/divelistview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/divelistview.cpp b/desktop-widgets/divelistview.cpp
index a47c05b67..6d41c7ff1 100644
--- a/desktop-widgets/divelistview.cpp
+++ b/desktop-widgets/divelistview.cpp
@@ -647,8 +647,8 @@ void DiveListView::splitDives()
void DiveListView::renumberDives()
{
- RenumberDialog::instance()->renumberOnlySelected();
- RenumberDialog::instance()->show();
+ RenumberDialog dialog(true, MainWindow::instance());
+ dialog.exec();
}
void DiveListView::merge_trip(const QModelIndex &a, int offset)