Skip to content

Commit 20e2eca

Browse files
authored
Merge pull request #419 from davidhozic/develop
feat: [GUI] Fixed live account add inside Live view
2 parents 76fe516 + 2fee832 commit 20e2eca

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/python-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
python -m build
2828
2929
- name: Publish package
30-
uses: pypa/gh-action-pypi-publish@f8c70e705ffc13c3b4d1221169b84f12a75d6ca8
30+
uses: pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e
3131
with:
3232
user: __token__
3333
password: ${{ secrets.PYPI_API_TOKEN }}

src/daf_gui/main.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,9 @@ def add_account():
306306
gui_daf_assert_running()
307307
selection = combo_add_object_edit.combo.current()
308308
if selection >= 0:
309-
account: daf.client.ACCOUNT = convert_to_objects(combo_add_object_edit.combo.get())
310-
async_execute(self.connection.add_account(account), parent_window=self.win_main)
309+
fnc: ObjectInfo = combo_add_object_edit.combo.get()
310+
fnc_data = convert_to_objects(fnc.data)
311+
async_execute(self.connection.add_account(**fnc_data), parent_window=self.win_main)
311312
else:
312313
tkdiag.Messagebox.show_error("Combobox does not have valid selection.", "Combo invalid selection")
313314

0 commit comments

Comments
 (0)