aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src-qt5/core-utils/lumina-config/mainWindow.cpp6
-rw-r--r--src-qt5/core-utils/lumina-config/pages/page_main.cpp6
-rw-r--r--src-qt5/core-utils/lumina-config/pages/page_main.h2
3 files changed, 9 insertions, 5 deletions
diff --git a/src-qt5/core-utils/lumina-config/mainWindow.cpp b/src-qt5/core-utils/lumina-config/mainWindow.cpp
index de49f22b..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()){ /* page_main::clearlineEdit(); */ } //since ESC doesnt close any other Lumina Appliction by default, I've commented this out for the time being.
+ 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).
}
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 22d00d27..e60606f3 100644
--- a/src-qt5/core-utils/lumina-config/pages/page_main.cpp
+++ b/src-qt5/core-utils/lumina-config/pages/page_main.cpp
@@ -121,9 +121,9 @@ void page_main::SaveSettings(){
}
-//void page_main::clearlineEdit(){
-// ui->lineEdit->clear();
-//}
+void page_main::clearlineEdit(){
+ ui->lineEdit->clear();
+}
void page_main::LoadSettings(int){
diff --git a/src-qt5/core-utils/lumina-config/pages/page_main.h b/src-qt5/core-utils/lumina-config/pages/page_main.h
index a41f0753..095815e9 100644
--- a/src-qt5/core-utils/lumina-config/pages/page_main.h
+++ b/src-qt5/core-utils/lumina-config/pages/page_main.h
@@ -20,7 +20,7 @@ public:
~page_main();
virtual void setPreviousPage(QString id);
-// void clearlineEdit();
+ void clearlineEdit();
public slots:
void SaveSettings();
bgstack15