[rkward-cvs] SF.net SVN: rkward: [1600] trunk/rkward/rkward/windows/rkmdiwindow.cpp
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Fri Mar 16 11:43:02 UTC 2007
Revision: 1600
http://svn.sourceforge.net/rkward/?rev=1600&view=rev
Author: tfry
Date: 2007-03-16 04:43:02 -0700 (Fri, 16 Mar 2007)
Log Message:
-----------
The old part deactivation trap... Calling clearFocus() here is not safe
Modified Paths:
--------------
trunk/rkward/rkward/windows/rkmdiwindow.cpp
Modified: trunk/rkward/rkward/windows/rkmdiwindow.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkmdiwindow.cpp 2007-03-16 07:31:04 UTC (rev 1599)
+++ trunk/rkward/rkward/windows/rkmdiwindow.cpp 2007-03-16 11:43:02 UTC (rev 1600)
@@ -122,10 +122,9 @@
KParts::PartActivateEvent *ev = static_cast<KParts::PartActivateEvent *> (e);
if (ev->activated ()) {
emit (windowActivated (this));
- setFocus (); // designed to aid the kate part
+ setFocus (); // focus doesn't always work correctly for the kate part
active = true;
} else {
- clearFocus (); // designed to aid the kate part
active = false;
}
if (layout()->margin () < 1) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list