Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.5, 2.1, and 2.1.1

stable manifestdialog: disable context menu if no rows are selected (fixes #662)

Changeset 628535eb0aee

Parent 1bb2fad76914

by Steve Borho

Changes to one file · Browse files at 628535eb0aee Showing diff from parent 1bb2fad76914 Diff from another changeset...

 
290
291
292
 
 
 
293
294
295
 
290
291
292
293
294
295
296
297
298
@@ -290,6 +290,9 @@
  dlg.activateWindow()     def menuRequest(self, point): + selmodel = self._treeview.selectionModel() + if not selmodel.selectedRows(): + return   point = self.mapToGlobal(point)   if not self.contextmenu:   self.contextmenu = QMenu(self)