aboutsummaryrefslogtreecommitdiff
path: root/desktop-editor
diff options
context:
space:
mode:
authorwilliam <william.os4y@gmail.com>2015-03-13 19:40:05 +0100
committerwilliam <william.os4y@gmail.com>2015-03-13 20:51:56 +0100
commitc0d33cfa993a8d32fc0710b1468764147eb72976 (patch)
treef87f82c1e3602934255983b4fb1a9d8b99cad9b8 /desktop-editor
parentfix: when the user click cancel we don't change any values (diff)
downloadlumina-c0d33cfa993a8d32fc0710b1468764147eb72976.tar.gz
lumina-c0d33cfa993a8d32fc0710b1468764147eb72976.tar.bz2
lumina-c0d33cfa993a8d32fc0710b1468764147eb72976.zip
lCommand: setText() does not flag Modified() automatically
Diffstat (limited to 'desktop-editor')
-rw-r--r--desktop-editor/dialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-editor/dialog.cpp b/desktop-editor/dialog.cpp
index fdf17d62..92a0980b 100644
--- a/desktop-editor/dialog.cpp
+++ b/desktop-editor/dialog.cpp
@@ -103,6 +103,7 @@ void Dialog::on_pbCommand_clicked()
tr("Open command"), commandFolder, tr("All Files (*)"));
if (!fileName.isEmpty()) {
ui->lCommand->setText(fileName);
+ ui->lCommand->setModified(true);
}
}
bgstack15