Ignore:
Timestamp:
06/17/12 17:25:53 (22 months ago)
Author:
mstajdohar
Branch:
default
Message:

FR should work now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeWidgets/plot/owplot.py

    r10923 r10930  
    994994            self._transform_cache = {} 
    995995 
    996         if self._zoom_rect: 
    997             data_zoom_rect = self.map_transform.inverted()[0].mapRect(self._zoom_rect) 
    998             self.map_transform = self.transform_for_axes() 
    999             self.set_zoom_rect(self.map_transform.mapRect(data_zoom_rect)) 
    1000         else: 
    1001             self.map_transform = self.transform_for_axes() 
     996            if self._zoom_rect: 
     997                data_zoom_rect = self.map_transform.inverted()[0].mapRect(self._zoom_rect) 
     998                self.map_transform = self.transform_for_axes() 
     999                self.set_zoom_rect(self.map_transform.mapRect(data_zoom_rect)) 
     1000 
     1001        self.map_transform = self.transform_for_axes() 
    10021002         
    10031003        for c in self.plot_items(): 
Note: See TracChangeset for help on using the changeset viewer.