Module: nagvis Branch: master Commit: 9389526d2c686661831c45c63f6e5025e08819bd URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=9389526d2c686661831c45c63f6e5025e08819bd
Author: Andriy Skuratov <[email protected]> Date: Thu Aug 27 13:57:42 2009 +0300 gmap:Properly remove selected items from autocomplete box. --- uifx/src/modules/gmap/view/DialogLink.mxml | 1 + uifx/src/modules/gmap/view/DialogLocation.mxml | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/uifx/src/modules/gmap/view/DialogLink.mxml b/uifx/src/modules/gmap/view/DialogLink.mxml index 789eaba..981ad45 100644 --- a/uifx/src/modules/gmap/view/DialogLink.mxml +++ b/uifx/src/modules/gmap/view/DialogLink.mxml @@ -268,6 +268,7 @@ private function onObjectTypeChange() : void { lnkNObject.removeAll(); + lnkNObject.selectedItems.removeAll(); lnkNObject.textInput.text = ''; switch (lnkNObjectType.selectedIndex) diff --git a/uifx/src/modules/gmap/view/DialogLocation.mxml b/uifx/src/modules/gmap/view/DialogLocation.mxml index c593b47..d2366b3 100644 --- a/uifx/src/modules/gmap/view/DialogLocation.mxml +++ b/uifx/src/modules/gmap/view/DialogLocation.mxml @@ -247,6 +247,7 @@ private function onObjectTypeChange() : void { locNObject.removeAll(); + locNObject.selectedItems.removeAll(); locNObject.textInput.text = ''; switch (locNObjectType.selectedIndex) ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
