Skip to content

Commit

Permalink
Fix bug: on click to plot data, it goes to infinite loop if the same …
Browse files Browse the repository at this point in the history
…dot is clicked
  • Loading branch information
gurayerus committed Dec 18, 2024
1 parent 6f42c8f commit 98bcd1b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file removed src/viewer/utils/.utils_plot.py.kate-swp
Binary file not shown.
2 changes: 1 addition & 1 deletion src/viewer/utils/utils_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def callback_plot_clicked() -> None:
st.session_state.sel_roi_img = sel_roi
st.session_state.paths["sel_img"] = ""
st.session_state.paths["sel_seg"] = ""
st.rerun()
#st.rerun()

# Main container for the plot
with st.container(border=True):
Expand Down

0 comments on commit 98bcd1b

Please sign in to comment.