remove PR #111 dependency

This commit is contained in:
Jacob Brydolf
2016-11-08 13:28:05 +01:00
parent af933da0c9
commit 5c330b071a

View File

@@ -149,8 +149,10 @@ ApplicationWindow {
// disconnect handlers before connecting
middlePanel.paymentClicked.disconnect(handlePayment);
middlePanel.checkPaymentClicked.disconnect(handleCheckPayment);
// TODO: remove if statement when PR #111 is merged
if(typeof(handleCheckPayment) !== "undefined") {
middlePanel.checkPaymentClicked.disconnect(handleCheckPayment);
}
middlePanel.paymentClicked.connect(handlePayment);
// basicPanel.paymentClicked.connect(handlePayment);