diff options
author | q5sys <jt@obs-sec.com> | 2016-11-20 01:41:14 -0500 |
---|---|---|
committer | q5sys <jt@obs-sec.com> | 2016-11-20 01:41:14 -0500 |
commit | cb5524f6fd5186414c11339375bebd3b808b4857 (patch) | |
tree | df075ff8673b306c61654075c77942264e9b3976 /src-qt5/core-utils/lumina-config/mainWindow.cpp | |
parent | Add support for extracting a single file from an archive for viewing temporar... (diff) | |
download | lumina-cb5524f6fd5186414c11339375bebd3b808b4857.tar.gz lumina-cb5524f6fd5186414c11339375bebd3b808b4857.tar.bz2 lumina-cb5524f6fd5186414c11339375bebd3b808b4857.zip |
search clear function on ESC press
Diffstat (limited to 'src-qt5/core-utils/lumina-config/mainWindow.cpp')
-rw-r--r-- | src-qt5/core-utils/lumina-config/mainWindow.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src-qt5/core-utils/lumina-config/mainWindow.cpp b/src-qt5/core-utils/lumina-config/mainWindow.cpp index d6ada8f5..ecaf2990 100644 --- a/src-qt5/core-utils/lumina-config/mainWindow.cpp +++ b/src-qt5/core-utils/lumina-config/mainWindow.cpp @@ -9,6 +9,7 @@ #include "globals.h" #include "pages/getPage.h" +#include "pages/page_main.h" //============= // PUBLIC @@ -133,7 +134,10 @@ void mainWindow::on_actionSave_triggered(){ } void mainWindow::on_actionBack_triggered(){ - if(cpage.isEmpty()){ this->close(); } //main menu - go ahead and close it + if(cpage.isEmpty()){ page_main::clearlineEdit(); } //since ESC doesnt close any other Lumina Appliction by default, I've +commented this out for +the +time being. else{ page_change(""); } //Use the interactive wrapper (check for save state, etc). } |