AutoFlowResearch / SmartPeak

Fast and Accurate CE-, GC- and LC-MS(/MS) Data Processing
MIT License
41 stars 13 forks source link

Fix some file picker don't popup when selecting file in the New Session Dialog Box #479

Closed bertrandboudaud closed 2 years ago

bertrandboudaud commented 2 years ago

Probably since the move to the docking branch of imgui, the new session dialog box was not working properly; it's impossible with some line of the dialog box to select the file: this happens for "Injections", "Transitions" and some others.

It's only a problem if you want to select different file names other than the default one, for some of these files.

this comes from a conflict where we have several windows with the same name ("Injections" is already used for the injection explorer).

This is fixed by adding a "Select" to the name of the titles for the file picker for these files.

also avoid to spam OpenPopup in the GUI. while debugging, we can see that imgui get confused about this.