

def show_on_clicked(self):
    if (amount.edit.text() == ''):
        amount = 0
    else:
        amount = float(self.edit.text())
    self.controller.init_new_transaction(amount, self.combo.currentText())

dataset/ETHPy150Open javgh/greenaddress-pos-tools/merchantgui.py MerchantGUI.show_on_clicked/VarMisuse@12/15 `self`->`amount`