Skip to content
Snippets Groups Projects
Commit eccb3174 authored by François Cartegnie's avatar François Cartegnie :fingers_crossed:
Browse files

Qt: messages: no empty start block

parent 0f54074a
No related branches found
No related tags found
No related merge requests found
......@@ -213,8 +213,9 @@ void MessagesDialog::sinkMessage( const MsgEvent *msg )
messages->textCursor().anchor() != messages->textCursor().position() )
messages->moveCursor( QTextCursor::End );
/* Start a new logic block so we can hide it on-demand */
messages->textCursor().insertBlock();
/* Start a new logic block */
if( !messages->document()->isEmpty() )
messages->textCursor().insertBlock();
QString buf = QString( "<i><font color='darkblue'>%1</font>" ).arg( msg->module );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment