/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/identifyview.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/identifyview.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 535 by bh, Fri Mar 14 20:42:18 2003 UTC revision 702 by bh, Tue Apr 22 16:43:30 2003 UTC
# Line 20  class IdentifyListCtrl(RecordListCtrl): Line 20  class IdentifyListCtrl(RecordListCtrl):
20    
21      def selected_shape(self, layer, shape):      def selected_shape(self, layer, shape):
22          if layer is not None:          if layer is not None:
23              table = layer.shapetable              table = layer.table
24          else:          else:
25              table = None              table = None
26          self.fill_list(table, shape)          self.fill_list(table, shape)
# Line 29  class IdentifyGridCtrl(RecordGridCtrl): Line 29  class IdentifyGridCtrl(RecordGridCtrl):
29    
30      def selected_shape(self, layer, shape):      def selected_shape(self, layer, shape):
31          if layer is not None:          if layer is not None:
32              table = layer.shapetable              table = layer.table
33          else:          else:
34              table = None              table = None
35          self.SetTableRecord(table, shape)          self.SetTableRecord(table, shape)

Legend:
Removed from v.535  
changed lines
  Added in v.702

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26