summaryrefslogtreecommitdiffstats
path: root/gui/pages/VersionPage.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-06-03 01:34:44 +0200
committerPetr Mrázek <peterix@gmail.com>2014-06-09 01:38:31 +0200
commit6b3d1101cb801367edef8f35b3eee4499e04866b (patch)
tree22f223c016fd0b4999dc7c704bd6f7b7583269d1 /gui/pages/VersionPage.cpp
parentf485885757e287546bb27bda5906bfa4adc5494a (diff)
downloadMultiMC-6b3d1101cb801367edef8f35b3eee4499e04866b.tar
MultiMC-6b3d1101cb801367edef8f35b3eee4499e04866b.tar.gz
MultiMC-6b3d1101cb801367edef8f35b3eee4499e04866b.tar.lz
MultiMC-6b3d1101cb801367edef8f35b3eee4499e04866b.tar.xz
MultiMC-6b3d1101cb801367edef8f35b3eee4499e04866b.zip
Tweaks to page dialog and version page.
Diffstat (limited to 'gui/pages/VersionPage.cpp')
-rw-r--r--gui/pages/VersionPage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/pages/VersionPage.cpp b/gui/pages/VersionPage.cpp
index 34b959e0..99232a25 100644
--- a/gui/pages/VersionPage.cpp
+++ b/gui/pages/VersionPage.cpp
@@ -79,6 +79,7 @@ VersionPage::VersionPage(OneSixInstance *inst, QWidget *parent)
main_model->setSourceModel(m_version.get());
ui->libraryTreeView->setModel(main_model);
ui->libraryTreeView->installEventFilter(this);
+ ui->libraryTreeView->setSelectionMode(QAbstractItemView::SingleSelection);
connect(ui->libraryTreeView->selectionModel(), &QItemSelectionModel::currentChanged,
this, &VersionPage::versionCurrent);
updateVersionControls();