Hello,

I noticed a little bug (?) in the chat history dialog: If you display 
a message and scroll down, then click on another message, the message 
viewer does not show the top of the new message, but remains scrolled 
down.

The attached little patch should fix the problem.

Could somebody commit this or are there objections?

Best regards,
Johannes
-- 
Black holes are where God divided by zero -- Steven Wright
--- kopete-0.12.2-new/kopete/plugins/history/historydialog.cpp	2006-08-12 02:50:49.000000000 +0200
+++ kopete-0.12.2/kopete/plugins/history/historydialog.cpp	2007-03-26 21:32:28.000000000 +0200
@@ -401,6 +401,9 @@
 			mHtmlPart->htmlDocument().body().appendChild(newNode);
 		}
 	}
+
+	// Scroll back to the top-left corner
+	mHtmlView->setContentsPos(0, 0);
 }
 
 void HistoryDialog::slotFilterChanged(int index)

Attachment: pgppEu3BOtiPH.pgp
Description: PGP signature

_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to