remove PR #111 dependency

This commit is contained in:
Jacob Brydolf 2016-11-08 13:28:05 +01:00
parent af933da0c9
commit 5c330b071a
No known key found for this signature in database
GPG key ID: DE46246550D2F3C5

View file

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