From 0cf5d7eef98bce145cb3868d8ceab0f278665e40 Mon Sep 17 00:00:00 2001 From: Dominik Demuth Date: Thu, 20 Jul 2023 07:27:33 +0000 Subject: [PATCH] remove log(y) weight option from fit close #101 --- src/gui_qt/_py/fitdialog.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gui_qt/_py/fitdialog.py b/src/gui_qt/_py/fitdialog.py index cf7d7f6..70ae70a 100644 --- a/src/gui_qt/_py/fitdialog.py +++ b/src/gui_qt/_py/fitdialog.py @@ -38,7 +38,6 @@ class Ui_FitDialog(object): self.weight_combobox.addItem("") self.weight_combobox.addItem("") self.weight_combobox.addItem("") - self.weight_combobox.addItem("") self.gridLayout_2.addWidget(self.weight_combobox, 6, 1, 1, 1) self.newmodel_button = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2) self.newmodel_button.setEnabled(False) @@ -144,7 +143,6 @@ class Ui_FitDialog(object): self.weight_combobox.setItemText(1, _translate("FitDialog", "y")) self.weight_combobox.setItemText(2, _translate("FitDialog", "y²")) self.weight_combobox.setItemText(3, _translate("FitDialog", "Δy")) - self.weight_combobox.setItemText(4, _translate("FitDialog", "log(y)")) self.newmodel_button.setText(_translate("FitDialog", "New model")) self.deletemodel_button.setText(_translate("FitDialog", "Delete model")) self.label_3.setText(_translate("FitDialog", "Weight"))