fixing window binding

This commit is contained in:
2023-11-01 17:21:22 +00:00
parent 7a084e37a0
commit 90114551ff
2 changed files with 2 additions and 2 deletions
@@ -36,7 +36,7 @@ public class PaymentGatewayPaymentSense implements PaymentGateway {
Window getPaymentWindow() {
for (Window window : Window.getWindows()) {
if (window.isActive()) {
if (window instanceof JPaymentSelectReceipt) {
return window;
}
}
@@ -35,7 +35,7 @@ public class PaymentGatewayTeya implements PaymentGateway {
Window getPaymentWindow() {
for (Window window : Window.getWindows()) {
if (window.isActive()) {
if (window instanceof JPaymentSelectReceipt) {
return window;
}
}