summaryrefslogtreecommitdiffstats
path: root/application/dialogs
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-12-21 01:25:43 +0100
committerPetr Mrázek <peterix@gmail.com>2017-12-21 01:25:43 +0100
commit642c3f1d09c534ce290ef27b4999baefef81b931 (patch)
treec0aafdba03c95ee9f69626b2694a3f363f0546b4 /application/dialogs
parentc2726037ced5b9ccd98c9cc4c2b35238881ff9e2 (diff)
downloadMultiMC-642c3f1d09c534ce290ef27b4999baefef81b931.tar
MultiMC-642c3f1d09c534ce290ef27b4999baefef81b931.tar.gz
MultiMC-642c3f1d09c534ce290ef27b4999baefef81b931.tar.lz
MultiMC-642c3f1d09c534ce290ef27b4999baefef81b931.tar.xz
MultiMC-642c3f1d09c534ce290ef27b4999baefef81b931.zip
NOISSUE sort export dialog contents in ascending order by default
Diffstat (limited to 'application/dialogs')
-rw-r--r--application/dialogs/ExportInstanceDialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/dialogs/ExportInstanceDialog.cpp b/application/dialogs/ExportInstanceDialog.cpp
index 7f3fd937..7de4debc 100644
--- a/application/dialogs/ExportInstanceDialog.cpp
+++ b/application/dialogs/ExportInstanceDialog.cpp
@@ -321,6 +321,7 @@ ExportInstanceDialog::ExportInstanceDialog(InstancePtr instance, QWidget *parent
auto root = instance->instanceRoot();
ui->treeView->setModel(proxyModel);
ui->treeView->setRootIndex(proxyModel->mapFromSource(model->index(root)));
+ ui->treeView->sortByColumn(0, Qt::AscendingOrder);
connect(proxyModel, SIGNAL(rowsInserted(QModelIndex,int,int)), SLOT(rowsInserted(QModelIndex,int,int)));