You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ft...@apache.org on 2012/12/08 20:56:44 UTC
svn commit: r1418742 -
/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/SettingsWindow.mxml
Author: fthomas
Date: Sat Dec 8 19:56:43 2012
New Revision: 1418742
URL: http://svn.apache.org/viewvc?rev=1418742&view=rev
Log:
- Removed the settings window from context when is closed
Modified:
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/SettingsWindow.mxml
Modified: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/SettingsWindow.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/SettingsWindow.mxml?rev=1418742&r1=1418741&r2=1418742&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/SettingsWindow.mxml (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/SettingsWindow.mxml Sat Dec 8 19:56:43 2012
@@ -75,6 +75,9 @@ limitations under the License.
return window;
}
+ [Inject]
+ public var context:Context;
+
[Init]
public function init():void {
dispatchEvent(new ModalWindowEvent(ModalWindowEvent.OPENED));
@@ -95,6 +98,7 @@ limitations under the License.
private function closeWindow():void{
PopUpManager.removePopUp(this);
dispatchEvent(new ModalWindowEvent(ModalWindowEvent.CLOSED));
+ context.viewManager.removeViewRoot(this);
}
]]></fx:Script>
</s:TitleWindow>