Removed actiavtion in dimcontroller
opt. of compare func
This commit is contained in:
parent
41f93c5989
commit
6698ebe932
@ -195,11 +195,7 @@ class IdListController:
|
||||
except:
|
||||
logger.log("notice", "Could not convert to float: %s, %s" %(item1, item2))
|
||||
|
||||
if item1==item2: return 0
|
||||
if item1>item2:
|
||||
return 1
|
||||
else:
|
||||
return -1
|
||||
return cmp(item1, item2)
|
||||
|
||||
def _popup_menu(self, *rest):
|
||||
self._update_annotations_menu()
|
||||
@ -597,7 +593,8 @@ class DimListController:
|
||||
self._seltree_controller.activate()
|
||||
|
||||
def _dim_row_activated(self, widget, path, column):
|
||||
self._seltree_controller.set_dimension(dim)
|
||||
#self._seltree_controller.set_dimension(dim)
|
||||
pass
|
||||
|
||||
def _dimlist_button_pressed(self, widget, event):
|
||||
if event.button == 3:
|
||||
|
Reference in New Issue
Block a user