aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-06-27 15:02:47 -0400
committerKen Moore <moorekou@gmail.com>2016-06-27 15:02:47 -0400
commit8dbf33f6986cc1ccef4bd3c8b615d9aa7835cdfb (patch)
tree4661d058f7b42885e9db9697921e34dd1239e984 /src-qt5/desktop-utils
parentAdd in sample page files for copy/modify later. (diff)
downloadlumina-8dbf33f6986cc1ccef4bd3c8b615d9aa7835cdfb.tar.gz
lumina-8dbf33f6986cc1ccef4bd3c8b615d9aa7835cdfb.tar.bz2
lumina-8dbf33f6986cc1ccef4bd3c8b615d9aa7835cdfb.zip
Allow the "save file as" option to always be available (not dependant on changes to the file).
Diffstat (limited to 'src-qt5/desktop-utils')
-rw-r--r--src-qt5/desktop-utils/lumina-textedit/MainUI.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/MainUI.cpp b/src-qt5/desktop-utils/lumina-textedit/MainUI.cpp
index b5d65559..86fada43 100644
--- a/src-qt5/desktop-utils/lumina-textedit/MainUI.cpp
+++ b/src-qt5/desktop-utils/lumina-textedit/MainUI.cpp
@@ -220,7 +220,6 @@ void MainUI::updateTab(QString file){
//qDebug() << "Update Tab:" << file << cur << changes;
ui->tabWidget->setTabText(index,(changes ? "*" : "") + file.section("/",-1));
ui->actionSave_File->setEnabled(changes);
- ui->actionSave_File_As->setEnabled(changes);
this->setWindowTitle( ui->tabWidget->tabText( ui->tabWidget->currentIndex() ) );
}
@@ -230,7 +229,6 @@ void MainUI::tabChanged(){
if(cur==0){ return; } //should never happen though
bool changes = cur->hasChange();
ui->actionSave_File->setEnabled(changes);
- ui->actionSave_File_As->setEnabled(changes);
this->setWindowTitle( ui->tabWidget->tabText( ui->tabWidget->currentIndex() ) );
if(!ui->line_find->hasFocus() && !ui->line_replace->hasFocus()){ ui->tabWidget->currentWidget()->setFocus(); }
}
bgstack15