diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-10-14 04:45:46 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-10-14 04:45:46 -0400 |
| commit | 20c7b2f49859b14719e459e335816adff6689283 (patch) | |
| tree | b86ac76d4c9548e150de0d6e3d3dffd00a6388b0 /src | |
| parent | 6c881c8502cc6707b56676e767057dd4bda8d363 (diff) | |
title wasn't always trimmed, did all sorts of weird things
Diffstat (limited to 'src')
| -rw-r--r-- | src/editexecutablesdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editexecutablesdialog.cpp b/src/editexecutablesdialog.cpp index 3efadc4c..09210ddf 100644 --- a/src/editexecutablesdialog.cpp +++ b/src/editexecutablesdialog.cpp @@ -408,7 +408,7 @@ void EditExecutablesDialog::save() // get the new title, but ignore it if it's conflicting with an already // existing executable - QString newTitle = ui->title->text(); + QString newTitle = ui->title->text().trimmed(); if (isTitleConflicting(newTitle)) { newTitle = e->title(); } |
