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

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

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

revision 60 by bh, Thu Sep 13 14:47:39 2001 UTC revision 78 by bh, Mon Feb 4 19:37:16 2002 UTC
# Line 1  Line 1 
1  # Copyright (c) 2001 by Intevation GmbH  # Copyright (c) 2001, 2002 by Intevation GmbH
2  # Authors:  # Authors:
3  # Bernhard Herzog <[email protected]>  # Bernhard Herzog <[email protected]>
4  #  #
# Line 604  class MapCanvas(wxWindow): Line 604  class MapCanvas(wxWindow):
604          return None, None          return None, None
605    
606      def SelectShapeAt(self, x, y):      def SelectShapeAt(self, x, y):
607          layer, shape = self.find_shape_at(x, y)          layer, shape = self.find_shape_at(x, y, selected_layer = 0)
608          # If layer is None, then shape will also be None. We don't want          # If layer is None, then shape will also be None. We don't want
609          # to deselect the currently selected layer, so we simply select          # to deselect the currently selected layer, so we simply select
610          # the already selected layer again.          # the already selected layer again.

Legend:
Removed from v.60  
changed lines
  Added in v.78

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26