feature/port-to-py3 #11

Merged
marcel merged 59 commits from feature/port-to-py3 into develop 2022-03-21 15:30:06 +01:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 79f3d40714 - Show all commits

View File

@ -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

View File

@ -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