]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
TrendView could deadlock with other views
authorvillberg <villberg@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 31 Mar 2014 06:44:37 +0000 (06:44 +0000)
committervillberg <villberg@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 31 Mar 2014 06:44:37 +0000 (06:44 +0000)
refs #4793

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29217 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/trend/TrendView.java

index 928d8377c43cc5c9ed12e5eedcd5d84a03417363..ef13a4264384c305aee51ae2020b8b11f2074af8 100644 (file)
@@ -256,7 +256,8 @@ public class TrendView extends ViewPart {
                 }\r
                 frame.repaint();\r
                 frame.validate();\r
-                panel.requestFocus();\r
+                panel.requestFocusInWindow();\r
+                //panel.requestFocus();\r
             }\r
 \r
         });\r