diff --git a/gui/__pycache__/main_ui.cpython-312.pyc b/gui/__pycache__/main_ui.cpython-312.pyc index 55972e6..6290440 100644 Binary files a/gui/__pycache__/main_ui.cpython-312.pyc and b/gui/__pycache__/main_ui.cpython-312.pyc differ diff --git a/gui/v2/ui/pages/menu_page.py b/gui/v2/ui/pages/menu_page.py index 2bca999..5904cea 100755 --- a/gui/v2/ui/pages/menu_page.py +++ b/gui/v2/ui/pages/menu_page.py @@ -219,7 +219,7 @@ class MenuPage(Page): protocol = profile.connection.code - print(f"DEBUG: the type is = {type(profile.location)}, value = {profile.location}") + # print(f"DEBUG: the type is = {type(profile.location)}, value = {profile.location}") if isinstance(profile.location, dict): # Fake/missing data — show placeholders from data, diff --git a/gui/v2/ui/pages/payment_details_page.py b/gui/v2/ui/pages/payment_details_page.py index 20c383f..7ef0a29 100755 --- a/gui/v2/ui/pages/payment_details_page.py +++ b/gui/v2/ui/pages/payment_details_page.py @@ -2,7 +2,7 @@ import os from PyQt6.QtWidgets import QApplication, QLabel, QLineEdit, QPushButton from PyQt6.QtGui import QIcon, QPixmap -from PyQt6.QtCore import QSize, QTimer, QThread +from PyQt6.QtCore import QSize, QTimer from PyQt6 import QtCore from gui.v2.ui.pages.Page import Page @@ -340,14 +340,6 @@ class PaymentDetailsPage(Page): self._populate_ticket_fields(invoice) if self.ticket_poll_timer.isActive(): self.ticket_poll_timer.stop() - - ### NEW THREAD SAFETY DEBUG SECTION #### - # print(f"Timer starting from thread: {QThread.currentThread()}") - # print(f"Main thread is: {QApplication.instance().thread()}") - # if QThread.currentThread() != QApplication.instance().thread(): - # print("⚠️ WARNING: Not on main thread!") - ############################################################### - self.ticket_poll_timer.start(3000) self.update_status.update_status('Awaiting ticket payment...') diff --git a/gui/v2/ui/pages/ticket_or_billing_choice_page.py b/gui/v2/ui/pages/ticket_or_billing_choice_page.py index 7b13173..08c871a 100755 --- a/gui/v2/ui/pages/ticket_or_billing_choice_page.py +++ b/gui/v2/ui/pages/ticket_or_billing_choice_page.py @@ -109,6 +109,7 @@ class TicketOrBillingChoicePage(Page): if menu_page: self.update_status.update_status(f"Using ticket #{which_ticket}...") menu_page.enabling_profile(profile_data) + self.custom_window.navigator.navigate("menu") def on_use_billing(self): self.custom_window.navigator.navigate("id")