From f8ec07c3ce88b200f71849c1498d7e2e631c368b Mon Sep 17 00:00:00 2001 From: Wilson Gomez Date: Wed, 25 Oct 2023 12:16:38 -0500 Subject: [PATCH] minor fix --- app/dialogs.py | 1 + app/main.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/dialogs.py b/app/dialogs.py index 756cb96..22fb474 100644 --- a/app/dialogs.py +++ b/app/dialogs.py @@ -969,6 +969,7 @@ class DialogMoneyCount(QuickDialog): self.setWindowTitle('CONTEO DE DINERO') def exec_(self, kind): + print(kind, 'clase') self.kind = kind self.exec() diff --git a/app/main.py b/app/main.py index 13bb59a..f5ee5ef 100644 --- a/app/main.py +++ b/app/main.py @@ -1282,7 +1282,7 @@ class AppWindow(FrontWindow): self.dialog_expenses.exec_() def action_open_statement(self): - self.dialog_money_count.exec('open') + self.dialog_money_count.exec_('open') def open_statement_accepted(self, value): res = self.Sale.faster_open_statement({ @@ -1301,7 +1301,7 @@ class AppWindow(FrontWindow): if not salesman: return self.dialog('error_salesman_wrong') - self.dialog_money_count.exec('close') + self.dialog_money_count.exec_('close') def close_statement_accepted(self, values): if self.salesman_statement: