7142 Protected method handling event of the viewport. |
7142 Protected method handling event of the viewport. |
7143 |
7143 |
7144 @param evt reference to the event (QEvent) |
7144 @param evt reference to the event (QEvent) |
7145 @return flag indiating that the event was handled (boolean) |
7145 @return flag indiating that the event was handled (boolean) |
7146 """ |
7146 """ |
7147 self.__markerMap.calculateGeometry() |
7147 try: |
|
7148 self.__markerMap.calculateGeometry() |
|
7149 except AttributeError: |
|
7150 # ignore this - there seems to be a runtime issue when the editor |
|
7151 # is created |
|
7152 pass |
7148 return super(Editor, self).viewportEvent(evt) |
7153 return super(Editor, self).viewportEvent(evt) |
7149 |
7154 |
7150 def __updateReadOnly(self, bForce=True): |
7155 def __updateReadOnly(self, bForce=True): |
7151 """ |
7156 """ |
7152 Private method to update the readOnly information for this editor. |
7157 Private method to update the readOnly information for this editor. |