Index: /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIAddDiskEncryptionPasswordDialog.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIAddDiskEncryptionPasswordDialog.cpp	(revision 55037)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIAddDiskEncryptionPasswordDialog.cpp	(revision 55038)
@@ -166,4 +166,7 @@
     /** Returns whether the table is valid. */
     bool isValid() const;
+
+    /** Initiates the editor for the first index available. */
+    void editFirstIndex();
 
 private:
@@ -430,4 +433,17 @@
 }
 
+void UIEncryptionDataTable::editFirstIndex()
+{
+    AssertPtrReturnVoid(m_pModelEncryptionData);
+    /* Compose the password field index of the first available table record: */
+    const QModelIndex index = m_pModelEncryptionData->index(0, UIEncryptionDataTableSection_Password);
+    /* Navigate table to the corresponding index: */
+    setCurrentIndex(index);
+    /* Compose the fake mouse-event which will trigger the embedded editor: */
+    QMouseEvent event(QEvent::MouseButtonPress, QPoint(), Qt::LeftButton, Qt::NoButton, Qt::NoModifier);
+    /* Initiate the embedded editor for the corresponding index: */
+    edit(index, QAbstractItemView::SelectedClicked, &event);
+}
+
 void UIEncryptionDataTable::prepare()
 {
@@ -533,4 +549,6 @@
                 connect(m_pTableEncryptionData, SIGNAL(sigDataChanged()),
                         this, SLOT(sltDataChanged()));
+                m_pTableEncryptionData->setFocus();
+                m_pTableEncryptionData->editFirstIndex();
                 /* Add label into layout: */
                 pInputLayout->addWidget(m_pTableEncryptionData);
