Skip to content

Commit

Permalink
Use append instead of insert in export progress log window
Browse files Browse the repository at this point in the history
  • Loading branch information
nextghost committed Mar 11, 2013
1 parent e50c817 commit 8e09d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/progresswindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void progresswindow::closeEvent(QCloseEvent *e)

void progresswindow::print(const QString &str, const QTextCharFormat &format) {
logbrowser->setCurrentCharFormat(format);
logbrowser->insertPlainText(str + "\n");
logbrowser->append(str);
logbrowser->ensureCursorVisible();
qApp->processEvents();
}
Expand Down

0 comments on commit 8e09d4e

Please sign in to comment.