Skip to content

Commit

Permalink
Removed check that text fields are not empty before calling the set c…
Browse files Browse the repository at this point in the history
…ommand.
  • Loading branch information
aaronevers committed Mar 23, 2013
1 parent 4e37aef commit 62e0b71
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/treewidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ void TreeItem::editClicked()
while (i.hasNext())
{
TreeItem *n = i.next();
if (n->edit->text().trimmed().size() == 0)
return;
QDomElement element = doc.createElement("one" + type);
element.setAttribute("name", n->property);
element.appendChild(doc.createTextNode(n->edit->text()));
Expand Down

0 comments on commit 62e0b71

Please sign in to comment.