[SCM] ktp-contact-applet packaging branch, master, updated. debian/15.12.1-1-966-gde83ac5

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:18:33 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-desktop-applets.git;a=commitdiff;h=b601da3

The following commit has been merged in the master branch:
commit b601da3c72594fc338da50d1ec351d4016b8d325
Author: Aleix Pol <aleixpol at kde.org>
Date:   Thu Mar 28 16:57:59 2013 +0100

    Correctly set the focus to the input field when the conversation opens
    
    This patch makes sure that the focus will be forwarded to the text input
    when the dialog is opened. This patch is probably only needed because I
    don't understand the FocusScope that well, but it's an important feature
    to have fixed.
    
    Reviewed by David Edmundson
---
 chat/org.kde.ktp-chat/contents/ui/ChatWidget.qml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/chat/org.kde.ktp-chat/contents/ui/ChatWidget.qml b/chat/org.kde.ktp-chat/contents/ui/ChatWidget.qml
index 22f364f..ee8feb4 100644
--- a/chat/org.kde.ktp-chat/contents/ui/ChatWidget.qml
+++ b/chat/org.kde.ktp-chat/contents/ui/ChatWidget.qml
@@ -30,6 +30,10 @@ FocusScope {
 
     signal closeRequested
 
+    onFocusChanged: if(focus) {
+        input.focus = true
+    }
+
     Item {
         id: titleArea
         anchors {

-- 
ktp-contact-applet packaging



More information about the pkg-kde-commits mailing list