aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-config/pages/page_main.cpp
diff options
context:
space:
mode:
authorq5sys <jt@obs-sec.com>2017-01-05 18:29:37 -0500
committerq5sys <jt@obs-sec.com>2017-01-05 18:29:37 -0500
commitf4d45b48cdae9c9b90ecd7c02a6a735ca11f10aa (patch)
treec9ea56a462e8f68e9407e460e98f4e985f47af03 /src-qt5/core-utils/lumina-config/pages/page_main.cpp
parentGet some more stuff merged over. Starting to glue the various global structur... (diff)
downloadlumina-f4d45b48cdae9c9b90ecd7c02a6a735ca11f10aa.tar.gz
lumina-f4d45b48cdae9c9b90ecd7c02a6a735ca11f10aa.tar.bz2
lumina-f4d45b48cdae9c9b90ecd7c02a6a735ca11f10aa.zip
enable ESC to clear search field and reset view to all pages
Diffstat (limited to 'src-qt5/core-utils/lumina-config/pages/page_main.cpp')
-rw-r--r--src-qt5/core-utils/lumina-config/pages/page_main.cpp3
1 files changed, 3 insertions, 0 deletions
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);
}
bgstack15