[rkward-cvs] SF.net SVN: rkward-code:[4558] trunk/rkward/rkward/windows/ rkdebugmessagewindow.cpp

tfry at users.sf.net tfry at users.sf.net
Sun Feb 24 18:56:44 UTC 2013

Revision: 4558
Author:   tfry
Date:     2013-02-24 18:56:42 +0000 (Sun, 24 Feb 2013)
Log Message:
The real widget must not be the focus proxy, as this can causes problems when the real widget is destroyed, and focus is cleared at the same time.

Modified Paths:

Modified: trunk/rkward/rkward/windows/rkdebugmessagewindow.cpp
--- trunk/rkward/rkward/windows/rkdebugmessagewindow.cpp	2013-02-22 20:44:43 UTC (rev 4557)
+++ trunk/rkward/rkward/windows/rkdebugmessagewindow.cpp	2013-02-24 18:56:42 UTC (rev 4558)
@@ -72,7 +72,7 @@
 	if (!real_widget) {
 		RK_DEBUG (APP, DL_INFO, "creating debug message viewer");
 		real_widget = new RKDebugMessageWindowWidget (layout_widget);
-		setFocusProxy (real_widget);
+		setFocusProxy (layout_widget);
 		if (first) {
 			KMessageBox::information (this, i18n ("<p>This window is used for displaying RKWard related debug messages. It is targetted primarily at (plugin) developers. It does <b>not</b> offer any features for debugging R code.</p>"

More information about the rkward-tracker mailing list