[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:24:20 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=e7f7e34

The following commit has been merged in the master branch:
commit e7f7e348b29046d78d5bce7e8f937a92eb5c238a
Author: Dan Vrátil <dvratil at redhat.com>
Date:   Mon Nov 4 14:16:07 2013 +0100

    Move cursor at the end of line when moving through sent messages
    
    When moving through history of sent messages in text-ui, move the cursor
    at the end of the text. This is in par with Kopete and Konversation
    behavior
    
    BUG: 326597
    FIXED-IN: 0.7.1
---
 lib/chat-text-edit.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/chat-text-edit.cpp b/lib/chat-text-edit.cpp
index 684ecd1..9766804 100644
--- a/lib/chat-text-edit.cpp
+++ b/lib/chat-text-edit.cpp
@@ -227,6 +227,7 @@ void ChatTextEdit::getHistory(bool up)
     }
 
     setText(m_history[m_historyPos]);
+    moveCursor(QTextCursor::End, QTextCursor::MoveAnchor);
 }
 
 void ChatTextEdit::addHistory(const QString &text)

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list