Commit 3e80af04 authored by Dirk Wilden's avatar Dirk Wilden
Browse files

default value when editing name

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@4361 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 7a4e7e2a
...@@ -90,7 +90,7 @@ QVariant TreeModel::data(const QModelIndex &index, int role) const ...@@ -90,7 +90,7 @@ QVariant TreeModel::data(const QModelIndex &index, int role) const
// Name // Name
case 0 : case 0 :
if (role != Qt::DisplayRole ) if (role != Qt::DisplayRole && role != Qt::EditRole )
return QVariant(); return QVariant();
return QVariant(item->name()); return QVariant(item->name());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment