aboutsummaryrefslogtreecommitdiffstats
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 28af716..3ebc725 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -116,6 +116,7 @@ void MainWindow::on_buttonSearch_clicked() {
if (not matches.isEmpty()) {
ui->listWidget->scrollToItem(matches[selected_match], QAbstractItemView::EnsureVisible);
ui->listWidget->setCurrentItem(matches[selected_match]);
+ on_listWidget_itemActivated(matches[selected_match]);
}
}