CA styling: Improve/fix the new properties multi-selection dialog widget
The new popup dialog boxes used in CA chart styling (settings and thresholds), Lexicon (properties), Concordance (query) and maybe in other locations are modal and they are not closed when clicking outside of them. We need to explicitly click on "Cancel" to close them what is not very practical anymore.
Edit: fixed for Lexicon and Concordance.
(Some tests have been done in SelectionThresholdDialog.java line 164 but it only works on Windows)
Also the "Cancel" button should not call the result computing method. the cancel is working well
Solution
- Test if the combo list is visible with combo.getListVisible() -> was nto working ? :s
- and call cancelPressed()