Commits

Yuya Nishihara  committed 371d4c9

customtools: specify userData without using keyword argument (CentOs 6.3)

  • Participants
  • Parent commits 7031491
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/customtools.py

 
         vbox.addWidget(QLabel(_('Tools shown on selected location')))
         for location, locationdesc in hglib.tortoisehgtoollocations:
-            self.locationcombo.addItem(locationdesc.decode('utf-8'),
-                                       userData=location)
+            self.locationcombo.addItem(locationdesc.decode('utf-8'), location)
             toollist = ToolListBox(self.ini, location=location,
                 minimumwidth=100, parent=self)
             toollist.doubleClicked.connect(self.editToolFromName)