mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: after adding a dive, jump to it in the list
Don't do the slow motion scrolling through the list if we previously showed a different dive in the list. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3b37844708
commit
ce83357889
1 changed files with 2 additions and 0 deletions
|
@ -51,6 +51,8 @@ Item {
|
|||
diveDetailsListView.currentItem.modelData.notes = detailsEdit.notesText
|
||||
diveDetailsPage.state = "view"
|
||||
Qt.inputMethod.hide()
|
||||
// now make sure we directly show the saved dive (this may be a new dive, or it may have moved)
|
||||
showDiveIndex(manager.getIndex(dive_id))
|
||||
}
|
||||
|
||||
height: editArea.height
|
||||
|
|
Loading…
Add table
Reference in a new issue