[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/khtml/html
From:       George Staikos <staikos () kde ! org>
Date:       2004-11-07 18:09:27
Message-ID: 20041107180927.7B9E216D73 () office ! kde ! org
[Download RAW message or body]

CVS commit by staikos: 

rewrite as suggested by Tobias


  M +2 -7      html_formimpl.cpp   1.406


--- kdelibs/khtml/html/html_formimpl.cpp  #1.405:1.406
@@ -457,10 +457,5 @@ void HTMLFormElementImpl::walletOpened(K
     }
 
-    if (last) {
-        RenderWidget *r = static_cast<RenderWidget*>(last->renderer());
-        if (r && r->widget()) {
-            r->widget()->setFocus();
-        }
-    }
+    getDocument()->setFocusNode(last);
 }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic