# # # patch "NEWS" # from [766978f36c4bfa41b798860de2ee095f8cb8d5bc] # to [dc7505aed37b80042bd8fa54448c6d34f5174936] # # patch "src/model/InventoryModel.cpp" # from [0223e14d714f8b5130b3db9c034b1cb61b428aac] # to [4013f1123d48df9ea48a4f312bd82fa301319413] # ============================================================ --- NEWS 766978f36c4bfa41b798860de2ee095f8cb8d5bc +++ NEWS dc7505aed37b80042bd8fa54448c6d34f5174936 @@ -1,3 +1,7 @@ +xxxx-xx-xx (1.0rc2) + - bugfix: disallow the rename of the workspace root item (there is an + extra command for that, pivot_root, which we eventually support sometime) + 2010-02-15 (1.0rc1) NOTE: You need monotone 0.46 or later for this version - new: create new monotone databases and setup new project with a newly ============================================================ --- src/model/InventoryModel.cpp 0223e14d714f8b5130b3db9c034b1cb61b428aac +++ src/model/InventoryModel.cpp 4013f1123d48df9ea48a4f312bd82fa301319413 @@ -278,7 +278,8 @@ Qt::ItemFlags InventoryModel::flags(cons } InventoryItem * invitem = dynamic_cast(item); - if (invitem && invitem->isNewNode() && index.column() == 0) + if (invitem && invitem->getPath() != "" && + invitem->isNewNode() && index.column() == 0) { flags |= Qt::ItemIsEditable; }