Index: /trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.cpp	(revision 84623)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.cpp	(revision 84624)
@@ -321,16 +321,4 @@
 }
 
-void UIChooserModel::makeSureAtLeastOneItemSelected()
-{
-    /* If we have no item selected but at
-     * least one item in the navigation list (global item): */
-    if (!firstSelectedItem() && !navigationItems().isEmpty())
-    {
-        /* We are choosing it, selection became invalidated: */
-        setSelectedItem(navigationItems().first());
-        emit sigSelectionInvalidated();
-    }
-}
-
 bool UIChooserModel::isGroupItemSelected() const
 {
@@ -434,5 +422,5 @@
 }
 
-void UIChooserModel::makeSureNoItemWithCertainIdIsSelected(const QUuid &uId)
+void UIChooserModel::makeSureNoItemWithCertainIdSelected(const QUuid &uId)
 {
     /* Look for all nodes with passed uId: */
@@ -453,7 +441,19 @@
         setSelectedItem(findClosestUnselectedItem());
 
-    /* If global item was chosen, selection became invalidated: */
+    /* If global item is currently chosen, selection should be invalidated: */
     if (firstSelectedItem()->type() == UIChooserNodeType_Global)
         emit sigSelectionInvalidated();
+}
+
+void UIChooserModel::makeSureAtLeastOneItemSelected()
+{
+    /* If we have no item selected but
+     * at least one in the navigation list (global item): */
+    if (!firstSelectedItem() && !navigationItems().isEmpty())
+    {
+        /* We are choosing it, selection should be invalidated: */
+        setSelectedItem(navigationItems().first());
+        emit sigSelectionInvalidated();
+    }
 }
 
@@ -1072,7 +1072,7 @@
 void UIChooserModel::sltLocalMachineRegistered(const QUuid &uId, const bool fRegistered)
 {
-    /* Make sure no item with passed uId is selected: */
+    /* Existing VM unregistered => make sure no item with passed uId is selected: */
     if (!fRegistered)
-        makeSureNoItemWithCertainIdIsSelected(uId);
+        makeSureNoItemWithCertainIdSelected(uId);
 
     /* Call to base-class: */
@@ -1104,7 +1104,7 @@
                                                const QUuid &uId, const bool fRegistered)
 {
-    /* Make sure no item with passed uId is selected: */
+    /* Existing VM unregistered => make sure no item with passed uId is selected: */
     if (!fRegistered)
-        makeSureNoItemWithCertainIdIsSelected(uId);
+        makeSureNoItemWithCertainIdSelected(uId);
 
     /* Call to base-class: */
Index: /trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.h
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.h	(revision 84623)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.h	(revision 84624)
@@ -154,7 +154,4 @@
         QList<UIVirtualMachineItem*> selectedMachineItems() const;
 
-        /** Makes sure at least one item selected. */
-        void makeSureAtLeastOneItemSelected();
-
         /** Returns whether group item is selected. */
         bool isGroupItemSelected() const;
@@ -179,5 +176,7 @@
         UIChooserItem *findClosestUnselectedItem() const;
         /** Makes sure selection doesn't contain item with certain @a uId. */
-        void makeSureNoItemWithCertainIdIsSelected(const QUuid &uId);
+        void makeSureNoItemWithCertainIdSelected(const QUuid &uId);
+        /** Makes sure at least one item selected. */
+        void makeSureAtLeastOneItemSelected();
 
         /** Defines current @a pItem. */
