mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile/UI: add signal to redraw profile
This allows us to force a redraw of the dive profile when settings change that require a refresh of the profile. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7fc2071059
commit
669cbdaac5
2 changed files with 12 additions and 0 deletions
|
@ -46,6 +46,10 @@ Kirigami.ApplicationWindow {
|
|||
property string filterPattern: ""
|
||||
property int colWidth: undefined
|
||||
|
||||
// signal that the profile (and possibly other code) listens to so they
|
||||
// can redraw if settings are changed
|
||||
signal settingsChanged()
|
||||
|
||||
onNotificationTextChanged: {
|
||||
// once the app is fully initialized and the UI is running, we use passive
|
||||
// notifications to show the notification text, but during initialization
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue