From f4d45b48cdae9c9b90ecd7c02a6a735ca11f10aa Mon Sep 17 00:00:00 2001 From: q5sys Date: Thu, 5 Jan 2017 18:29:37 -0500 Subject: enable ESC to clear search field and reset view to all pages --- src-qt5/core-utils/lumina-config/pages/page_main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src-qt5/core-utils/lumina-config/pages') diff --git a/src-qt5/core-utils/lumina-config/pages/page_main.cpp b/src-qt5/core-utils/lumina-config/pages/page_main.cpp index e60606f3..c7aa76ff 100644 --- a/src-qt5/core-utils/lumina-config/pages/page_main.cpp +++ b/src-qt5/core-utils/lumina-config/pages/page_main.cpp @@ -123,6 +123,9 @@ void page_main::SaveSettings(){ void page_main::clearlineEdit(){ ui->lineEdit->clear(); + ui->treeWidget->sortItems(0, Qt::AscendingOrder); + ui->treeWidget->resizeColumnToContents(0); + ui->treeWidget->resizeColumnToContents(1); } -- cgit