diff options
Diffstat (limited to 'resources/qml/UserProfile.qml')
-rw-r--r-- | resources/qml/UserProfile.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/resources/qml/UserProfile.qml b/resources/qml/UserProfile.qml index 826d3165..d138060b 100644 --- a/resources/qml/UserProfile.qml +++ b/resources/qml/UserProfile.qml @@ -83,12 +83,13 @@ ApplicationWindow { } Connections { - target: profile - onDisplayError: { + function onDisplayError(errorMessage) { errorText.text = errorMessage; errorText.opacity = 1; hideErrorAnimation.restart(); } + + target: profile } TextInput { |