From 47d053735be0233a9821fdfdfd1d0a4651b6e61f Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Mon, 18 May 2015 22:48:54 +0200 Subject: Initially scroll to changelog end. Since currently new entries are at the bottom scroll down when opening the changelog window. Change-Id: I3cec84f5d9251e268c34335d8032dd11f42098ae --- rbutil/rbutilqt/gui/changelog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rbutil/rbutilqt/gui/changelog.cpp b/rbutil/rbutilqt/gui/changelog.cpp index 1de272315d..54d6fa6f6c 100644 --- a/rbutil/rbutilqt/gui/changelog.cpp +++ b/rbutil/rbutilqt/gui/changelog.cpp @@ -26,7 +26,7 @@ Changelog::Changelog(QWidget *parent) : QDialog(parent) ui.browserChangelog->setOpenExternalLinks(true); // FIXME: support translated changelog file (changelog.de.txt etc) ui.browserChangelog->setHtml(parseChangelogFile(":/docs/changelog.txt")); - ui.browserChangelog->moveCursor(QTextCursor::Start, QTextCursor::MoveAnchor); + ui.browserChangelog->moveCursor(QTextCursor::End, QTextCursor::MoveAnchor); ui.checkBoxShowAlways->setChecked(RbSettings::value(RbSettings::ShowChangelog).toBool()); connect(ui.buttonOk, SIGNAL(clicked()), this, SLOT(accept())); } -- cgit v1.2.3