Skip to content

Commit 7acfbc7

Browse files
use bind_value instead of bind_value_to (#13)
The installation directory was only saved to the app storage, but wasn't loaded on startup.
1 parent 42cd697 commit 7acfbc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

air_link/main_page.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def main_page():
3131
ui.codemirror().bind_value(app.storage.general, 'env').classes('h-32 border')
3232

3333
ui.label('Packages').classes('text-2xl')
34-
ui.input('Installation directory', value='~/robot').bind_value_to(app.storage.general, 'target_directory')
34+
ui.input('Installation directory', value='~/robot').bind_value(app.storage.general, 'target_directory')
3535
show_packages()
3636
upload = ui.upload(auto_upload=True, on_upload=add_package).props('accept=.zip').classes('hidden')
3737
ui.button('Upload package', icon='upload', on_click=lambda: upload.run_method('pickFiles')).props('outline')

0 commit comments

Comments
 (0)