Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

reporegistry: fix bug when user creates a new group

The name was assigned to the model param (BUG!), which manifested itself
by the fact that the newly created RepoGroupItem had an empty name.

Changeset 636b37f2c064

Parent 5edefd4f4ba5

by Adrian Buehlmann

Changes to one file · Browse files at 636b37f2c064 Showing diff from parent 5edefd4f4ba5 Diff from another changeset...

 
533
534
535
536
 
537
538
539
 
533
534
535
 
536
537
538
539
@@ -533,7 +533,7 @@
  ri = self.rootItem   cc = ri.childCount()   self.beginInsertRows(QModelIndex(), cc, cc + 1) - ri.appendChild(RepoGroupItem(name, ri)) + ri.appendChild(RepoGroupItem(self, name, ri))   self.endInsertRows()     def write(self, fn):