summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2021-09-14 15:50:06 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2021-09-14 15:50:06 +0000
commitb95ac0326ebedb7b86618ae967d0f7c28eb34e31 (patch)
treea4c213f2e57f38cb66f4bef5b95f2e7742b0b1ae /src
parent02ae4945b534af598ba1ebeac74efc8d0be7b261 (diff)
downloadVirtualBox-svn-b95ac0326ebedb7b86618ae967d0f7c28eb34e31.tar.gz
FE/Qt: bugref:6143. Disabling tab navigation of views in Viso creator dialog.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@91235 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src')
-rw-r--r--src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoBrowserBase.cpp1
-rw-r--r--src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoContentBrowser.cpp1
-rw-r--r--src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoHostBrowser.cpp1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoBrowserBase.cpp b/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoBrowserBase.cpp
index 5ee3d4e6a8d..5df3ed9feea 100644
--- a/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoBrowserBase.cpp
+++ b/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoBrowserBase.cpp
@@ -196,6 +196,7 @@ void UIVisoBrowserBase::prepareObjects()
m_pTreeView->header()->setSectionResizeMode(QHeaderView::ResizeToContents);
m_pTreeView->setFrameStyle(QFrame::Panel | QFrame::Plain);
m_pTreeView->installEventFilter(this);
+ m_pTreeView->setTabKeyNavigation(false);
}
}
diff --git a/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoContentBrowser.cpp b/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoContentBrowser.cpp
index 2716ad6ac4e..ca663424190 100644
--- a/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoContentBrowser.cpp
+++ b/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoContentBrowser.cpp
@@ -390,6 +390,7 @@ void UIVisoContentBrowser::prepareObjects()
m_pTableView->setSelectionBehavior(QAbstractItemView::SelectRows);
m_pTableView->setEditTriggers(QAbstractItemView::NoEditTriggers);
m_pTableView->setAlternatingRowColors(true);
+ m_pTableView->setTabKeyNavigation(false);
QHeaderView *pVerticalHeader = m_pTableView->verticalHeader();
if (pVerticalHeader)
{
diff --git a/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoHostBrowser.cpp b/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoHostBrowser.cpp
index 459f8010ba2..a70547ec0ae 100644
--- a/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoHostBrowser.cpp
+++ b/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoHostBrowser.cpp
@@ -157,6 +157,7 @@ void UIVisoHostBrowser::prepareObjects()
m_pTableView->setSelectionBehavior(QAbstractItemView::SelectRows);
m_pTableView->setEditTriggers(QAbstractItemView::NoEditTriggers);
m_pTableView->setAlternatingRowColors(true);
+ m_pTableView->setTabKeyNavigation(false);
QHeaderView *pVerticalHeader = m_pTableView->verticalHeader();
if (pVerticalHeader)
{