mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
QML UI: remove apparently obsolete code
I couldn't make sense of either the code nor the comment, so I tried what broke when I removed it. Nothing that I could find. So maybe we don't need this after all? Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ba4bb56701
commit
957f03f2a4
1 changed files with 0 additions and 4 deletions
|
@ -44,10 +44,6 @@ MobileComponents.Page {
|
|||
state = "view"
|
||||
return
|
||||
}
|
||||
// After saving, the list may be shuffled, so first of all make sure that
|
||||
// the listview's currentIndex is the visible item
|
||||
// This makes sure that we always edit the currently visible item
|
||||
diveDetailsListView.currentIndex = diveDetailsListView.indexAt(diveDetailsListView.contentX+1, 1);
|
||||
detailsEdit.dive_id = diveDetailsListView.currentItem.modelData.dive.id
|
||||
detailsEdit.number = diveDetailsListView.currentItem.modelData.dive.number
|
||||
detailsEdit.dateText = diveDetailsListView.currentItem.modelData.dive.date + " " + diveDetailsListView.currentItem.modelData.dive.time
|
||||
|
|
Loading…
Reference in a new issue