snu-quiqcl / iquip

Ion trap Quantum computing User Interface Project
GNU General Public License v3.0
7 stars 0 forks source link

Scan widget is accumulated when reload button is clicked #294

Closed kangz12345 closed 7 months ago

kangz12345 commented 7 months ago

Describe the bug

When I click the reload button, a new scan widget is added, while the previous widget still exists.

Expected behavior

The previous widget should be deleted.

To Reproduce

Steps to reproduce the behavior:

  1. Open any experiment that has a scan argument.
  2. Go to the scan tab to see the argument.
  3. Click the reload button.
  4. See that the new scan argument is added.

Expected causes and correction methods

Maybe it does not delete the previous widgets when the reload button is clicked.