Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

status: need to check whether 'clicked_row' is None

Changeset 9defd5233dda

Parent 6940a2616287

by Yuki KODAMA

Changes to one file · Browse files at 9defd5233dda Showing diff from parent 6940a2616287 Diff from another changeset...

 
1519
1520
1521
1522
 
1523
1524
1525
 
 
 
1526
1527
1528
 
1519
1520
1521
 
1522
1523
1524
 
1525
1526
1527
1528
1529
1530
@@ -1519,10 +1519,12 @@
  '''   if event.button != 3:   return False - +   clicked_row = treeview.get_path_at_pos(int(event.x),   int(event.y)) - + if not clicked_row: + return False +   selection = treeview.get_selection()   selected_rows = selection.get_selected_rows()[1]