diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2015-08-14 11:02:10 +0200 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2015-08-14 09:04:14 +0000 |
commit | 12ff69d44e9864f38103ee11414ef70fa9765604 (patch) | |
tree | 79c3c12b578c92d3f77b1aeaaff209ed19343dda /ui/qt/funnel_text_dialog.cpp | |
parent | 28b52060d40aa3aa716a76eb757a3ce159705625 (diff) |
Qt: Fixed funnel text dialog append and prepend
Append to end and prepend to start, not the opposite.
Change-Id: Ic0e2a7f04a0d9ff18a6fd7063d0550ad35eece1a
Reviewed-on: https://code.wireshark.org/review/10027
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/qt/funnel_text_dialog.cpp')
-rw-r--r-- | ui/qt/funnel_text_dialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/funnel_text_dialog.cpp b/ui/qt/funnel_text_dialog.cpp index 7aee7d165b..07477facc3 100644 --- a/ui/qt/funnel_text_dialog.cpp +++ b/ui/qt/funnel_text_dialog.cpp @@ -76,13 +76,13 @@ void FunnelTextDialog::setText(const QString text) void FunnelTextDialog::appendText(const QString text) { - ui->textEdit->moveCursor(QTextCursor::Start); + ui->textEdit->moveCursor(QTextCursor::End); ui->textEdit->insertPlainText(text); } void FunnelTextDialog::prependText(const QString text) { - ui->textEdit->moveCursor(QTextCursor::End); + ui->textEdit->moveCursor(QTextCursor::Start); ui->textEdit->insertPlainText(text); } |