mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-20 06:45:27 +00:00
QML UI: Add button to hide dive profile
Allow toggling of dive profile visibility Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
This commit is contained in:
parent
1925b3d012
commit
3d5ad19888
1 changed files with 7 additions and 0 deletions
|
@ -91,6 +91,13 @@ Item {
|
|||
}
|
||||
}
|
||||
}
|
||||
Button {
|
||||
text: "Show/Hide Dive Profile"
|
||||
onClicked: {
|
||||
qmlProfile.visible = !qmlProfile.visible
|
||||
}
|
||||
}
|
||||
|
||||
GridLayout {
|
||||
id: editorDetails
|
||||
width: parent.width
|
||||
|
|
Loading…
Add table
Reference in a new issue