Skip to content

Commit

Permalink
Update action_and_signals.py
Browse files Browse the repository at this point in the history
se modifico una linea para que se guarde setting correctamente
  • Loading branch information
v3rchi3l authored Feb 24, 2024
1 parent 068117c commit 4ddae7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions poker/gui/action_and_signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down Expand Up @@ -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()
retval = msg.exec()

0 comments on commit 4ddae7b

Please sign in to comment.