Index: /trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic2.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic2.cpp	(revision 75218)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic2.cpp	(revision 75219)
@@ -146,4 +146,12 @@
 void UIWizardExportAppPage2::populateAccounts()
 {
+    /* Block signals while updating: */
+    m_pAccountComboBox->blockSignals(true);
+
+    /* Remember current item data to be able to restore it: */
+    QString strOldData;
+    if (m_pAccountComboBox->currentIndex() != -1)
+        strOldData = m_pAccountComboBox->itemData(m_pAccountComboBox->currentIndex(), AccountData_ProfileName).toString();
+
     /* Clear combo initially: */
     m_pAccountComboBox->clear();
@@ -181,7 +189,17 @@
     }
 
-    /* Set default: */
-    if (m_pAccountComboBox->count() != 0)
-        m_pAccountComboBox->setCurrentIndex(0);
+    /* Set previous/default item if possible: */
+    int iNewIndex = -1;
+    if (   iNewIndex == -1
+        && !strOldData.isNull())
+        iNewIndex = m_pAccountComboBox->findData(strOldData, AccountData_ProfileName);
+    if (   iNewIndex == -1
+        && m_pAccountComboBox->count() > 0)
+        iNewIndex = 0;
+    if (iNewIndex != -1)
+        m_pAccountComboBox->setCurrentIndex(iNewIndex);
+
+    /* Unblock signals after update: */
+    m_pAccountComboBox->blockSignals(false);
 }
 
