include/vcl/weld.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 050e827b5ce09b0fc528667710d604c2242701f4 Author: Noel Grandin <[email protected]> AuthorDate: Fri Nov 29 15:25:41 2024 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Fri Nov 29 18:46:44 2024 +0100 add some comments to weld::ComboBox because it took me a while to figure out the magic value here Change-Id: I9a188d23a1f5aaac1bff10f795a916bc30cfb7ba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177534 Reviewed-by: Noel Grandin <[email protected]> Tested-by: Jenkins diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index 81554db95c1a..d68bced12c04 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -794,7 +794,7 @@ public: virtual void make_sorted() = 0; virtual void clear() = 0; - //by index + //by index, returns -1 if nothing is selected virtual int get_active() const = 0; virtual void set_active(int pos) = 0; virtual void remove(int pos) = 0;
