Closed kangz12345 closed 1 year ago
I reproduced this situation, and I think both reasons you suggested look correct😂
Thank you for the investigation! Then the first reason (not selected) is correct (because when the file tree is empty, we cannot select any item).
Describe the bug
When you click the open button without selecting any item (the initial state), the program aborts. Or the reason is that the file tree is empty (when I cannot access the artiq-proxy or the file tree is actually empty), I did not check which is the reason.
Expected behavior
Open button is disabled or nothing happens even if I click the open button.
To Reproduce
Steps to reproduce the behavior:
iquip
by console commandqiwis
in the repository.artiq-proxy
server.Expected causes and correction methods
Check if
experimentFileItem
isNone
inopenExperiment()
. Or do some more signal-slot stuffs to disable the open button when no file is selected.Screenshots