Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
Qt Creator 15.0.0
-
None
Description
This can be reproduced visibly when one has two dashboards with different databases that happen to have the same project name. Then the options in the version dropdown still contain the versions from the other database after switching the dashboard.
Also note, that I don't think the plugin should try to preserve the project selection when switching dashboars at all. I don't think, this is an actual usecase. What we could do, is persist a "last-selected-project" per dashboard and upon switching choose that, but I'm not sure what's best here.
As a solution to this bug I'd go with simply always refetching the project list, and selecting + reloading that project (and hence the list of versions).