Skip to content

Commit

Permalink
added logic to reset the file uploaded widget value to zero after a f…
Browse files Browse the repository at this point in the history
…iled has been uploaded
  • Loading branch information
kmilo9999 authored and gtdang committed Mar 29, 2024
1 parent d0bafd9 commit 8f78e57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hnn_core/gui/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1150,6 +1150,7 @@ def on_upload_data_change(change, data, viz_manager, log_out):
for ax_name, plot_type in ax_plots:
viz_manager._simulate_edit_figure(
fig_name, ax_name, data_fname, plot_type, {}, "plot")
change['owner'].value = []


def on_upload_params_change(change, params, tstop, dt, log_out, drive_boxes,
Expand Down

0 comments on commit 8f78e57

Please sign in to comment.