forked from qt-creator/qt-creator
Git: Forbid adding empty branch names
Change-Id: I4f9d65b8293198f409078e739bf047faed544dd6 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
André Hartmann
parent
8d5e8f6874
commit
910c384766
@@ -68,6 +68,9 @@ public:
|
||||
{
|
||||
Q_UNUSED(pos)
|
||||
|
||||
if (input.isEmpty())
|
||||
return Intermediate;
|
||||
|
||||
input.replace(m_invalidChars, "_");
|
||||
|
||||
// "Intermediate" patterns, may change to Acceptable when user edits further:
|
||||
|
||||
Reference in New Issue
Block a user