From 4ddae7b932a955e0f27e3f7feafb540fdf1157d7 Mon Sep 17 00:00:00 2001 From: L3o <135862868+v3rchi3l@users.noreply.github.com> Date: Sat, 24 Feb 2024 02:41:02 -0300 Subject: [PATCH] Update action_and_signals.py se modifico una linea para que se guarde setting correctamente --- poker/gui/action_and_signals.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/poker/gui/action_and_signals.py b/poker/gui/action_and_signals.py index 6d3dfe6..f607a37 100644 --- a/poker/gui/action_and_signals.py +++ b/poker/gui/action_and_signals.py @@ -487,13 +487,13 @@ def translate_ui_file(self, file_path): return translate_ui_files() - def save_setup(self): + def save_setup(self): config = get_config() config.config.set('main', 'control', self.ui_setup.comboBox_vm.currentText()) config.config.set('main', 'montecarlo_timeout', self.ui_setup.comboBox_2.currentText()) config.config.set('main', 'login', self.ui_setup.login.text()) config.config.set('main', 'password', self.ui_setup.password.text()) - config.config.set('main', 'Translate', self.ui_setup.Translates.currentText()) + config.config.set('main', 'Translate', self.ui_setup.comboBox_Translates.currentText()) config.update_file() self.ui_setup.close() @@ -734,4 +734,4 @@ def recommendation_pop_up(self, mouse_target): msg.setText(f"Execute the {mouse_target} and then press OK to continue") msg.setWindowTitle(f"Recommendation: {mouse_target}") msg.setStandardButtons(QMessageBox.StandardButton.Ok) - retval = msg.exec() \ No newline at end of file + retval = msg.exec()