]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@18228 ac1ea38d-2e2b...
authorlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 5 Oct 2010 13:18:11 +0000 (13:18 +0000)
committerlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 5 Oct 2010 13:18:11 +0000 (13:18 +0000)
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/EquationTab.java

index 6d2ded05ce36ef1913428711890d134907e18a20..b88a8208d4a5129d35679d038122ceb1a0c562b4 100644 (file)
@@ -261,6 +261,7 @@ public class EquationTab extends PropertyTabContributorImpl {
                     if(expressionWidget != null) {\r
                        expressionWidget.save();\r
                     }\r
+                    partRef.getPart(false).getSite().getPage().removePartListener(this);\r
                 }\r
             }\r
             public void partClosed(IWorkbenchPartReference partRef) {}\r