diff options
Diffstat (limited to 'qt-ui/divelistview.cpp')
-rw-r--r-- | qt-ui/divelistview.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp index a34484dba..4a35176b8 100644 --- a/qt-ui/divelistview.cpp +++ b/qt-ui/divelistview.cpp @@ -255,6 +255,9 @@ void DiveListView::reload(DiveTripModel::Layout layout, bool forceSort) setAnimated(true); } } + if(currentLayout == DiveTripModel::TREE){ + fixMessyQtModelBehaviour(); + } } void DiveListView::reloadHeaderActions() @@ -485,7 +488,6 @@ void DiveListView::deleteDive() } mark_divelist_changed(TRUE); mainWindow()->refreshDisplay(); - reload(currentLayout, false); } void DiveListView::testSlot() |