Skip to content
Snippets Groups Projects
Commit 6c99ec5b authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'qtdialog-trim-new-varname'

8f1bce12 cmake-gui: trim spaces from user-created variable names
parents 0e990a01 8f1bce12
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ AddCacheEntry::AddCacheEntry(QWidget* p, const QStringList& varNames,
QString AddCacheEntry::name() const
{
return this->Name->text();
return this->Name->text().trimmed();
}
QVariant AddCacheEntry::value() const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment