Commit 02bf4c99 authored by payno's avatar payno

[gui][e0calculator] invert `use mean` and `use median` to increase readibility...

[gui][e0calculator] invert `use mean` and `use median` to increase readibility (keep order of the line edit) - prefered choise might be median
parent 9dbc80bc
......@@ -72,10 +72,10 @@ class E0CalculatorDialog(qt.QDialog):
icon = style.standardIcon(qt.QStyle.SP_DialogApplyButton)
_buttons = qt.QDialogButtonBox(parent=self)
self._useMean = qt.QPushButton(icon, 'use mean', self)
_buttons.addButton(self._useMean, qt.QDialogButtonBox.ActionRole)
self._useMedian = qt.QPushButton(icon, 'use median', self)
_buttons.addButton(self._useMedian, qt.QDialogButtonBox.ActionRole)
self._useMean = qt.QPushButton(icon, 'use mean', self)
_buttons.addButton(self._useMean, qt.QDialogButtonBox.ActionRole)
_buttons.addButton(qt.QDialogButtonBox.Cancel)
self.layout().addWidget(_buttons)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment