summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index a52d3c5c..166fc9d5 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -750,6 +750,7 @@ void MainWindow::updateProfileBox() {
if (!i.key().isEmpty())
ui->profileBox->addItem(i.key());
}
+ ui->profileBox->model()->sort(0);
}
int index = ui->profileBox->findText(QtPassSettings::getProfile());
if (index != -1) // -1 for not found