Qt: put the ensureCursorVisible(); back.
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 8 Feb 2009 10:54:14 +0000 (11:54 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 8 Feb 2009 10:54:14 +0000 (11:54 +0100)
modules/gui/qt4/dialogs/messages.cpp

index 264e51c..11a9fef 100644 (file)
@@ -217,6 +217,7 @@ void MessagesDialog::sinkMessage( msg_item_t *item )
     messages->setTextColor( "black" );
     messages->insertPlainText( qfu(item->psz_msg) );
     messages->insertPlainText( "\n" );
+    messages->ensureCursorVisible();
 }
 
 void MessagesDialog::customEvent( QEvent *event )