feature/port-to-py3 #11
@ -42,7 +42,7 @@ class MplCanvas(FigureCanvas):
|
||||
class Array_map(QtWidgets.QWidget):
|
||||
def __init__(self, parent, metadata, parameter=None, axes=None, annotate=True, pointsize=25.,
|
||||
linewidth=1.5, width=5e6, height=2e6):
|
||||
QtWidgets.QWidget.__init__(self)
|
||||
QtWidgets.QWidget.__init__(self, parent=parent)
|
||||
|
||||
assert (parameter is not None or parent is not None), 'either parent or parameter has to be set'
|
||||
# set properties
|
||||
|
@ -4606,7 +4606,7 @@ class PropertiesDlg(QDialog):
|
||||
self._current_values.append(values)
|
||||
|
||||
def reset_current(self):
|
||||
for values in self._current_values():
|
||||
for values in self._current_values:
|
||||
self.setValues(values)
|
||||
|
||||
@staticmethod
|
||||
|
Loading…
Reference in New Issue
Block a user