Changeset 8203:1ef03ad586ab in orange


Ignore:
Timestamp:
08/18/11 07:45:25 (3 years ago)
Author:
Noughmad <Noughmad@…>
Branch:
default
Convert:
c61402503c2a28eadaf95f87812274d75dd2eab5
Message:

Fix typo, make sure dialogs work with Qwt and QGraphicsScene graphs as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/OWDlgs.py

    r8202 r8203  
    99    _have_qwt = False 
    1010 
     11from PyQt4.QtGui import QGraphicsScene, QGraphicsView 
    1112from PyQt4.QtSvg import * 
    1213from ColorPalette import * 
     
    9091        painter.setRenderHint(QPainter.Antialiasing) 
    9192        if not filename.lower().endswith(".svg"): 
    92             if isinstance(self.graph, QGraphicsScene) or isinstance(self.graph, QGraphicsViev): 
     93            if isinstance(self.graph, QGraphicsScene) or isinstance(self.graph, QGraphicsView): 
    9394                # make background same color as the widget's background 
    9495                brush = self.graph.backgroundBrush() 
Note: See TracChangeset for help on using the changeset viewer.