parent
01f8bdd8d3
commit
094dd51a78
1 changed files with 9 additions and 10 deletions
|
@ -136,7 +136,6 @@ class MainWindow(QMainWindow, Ui_MainWindow):
|
|||
self.v_categories.takeItem(self.v_categories.currentRow())
|
||||
|
||||
def ingredient_add(self):
|
||||
if self.c_heading.checkState() == 2 or self.e_amount.text():
|
||||
if self.e_ingredient.text():
|
||||
if self.c_heading.checkState() == 2:
|
||||
current_amount = QTableWidgetItem("----------")
|
||||
|
|
Reference in a new issue