diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2023-08-24 12:28:32 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2023-08-29 15:21:55 +0200 |
commit | 62d5a5c376f06a22fdfd8708d2aefd7e987a4478 (patch) | |
tree | 557ad369290f8af36907827ab19c1bd28fd9b590 /vcl/jsdialog | |
parent | f232b5945151e911db1e37c64e38ca1ed2c95854 (diff) |
jsdialog: don't send update if we not change selection
Change-Id: I3eb1e5df4133f010d0c4f7abde0f73bfeda75a82
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156046
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156237
Tested-by: Jenkins
Diffstat (limited to 'vcl/jsdialog')
-rw-r--r-- | vcl/jsdialog/jsdialogbuilder.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/jsdialog/jsdialogbuilder.cxx b/vcl/jsdialog/jsdialogbuilder.cxx index 2e0fc28e544b..8f7949c474ca 100644 --- a/vcl/jsdialog/jsdialogbuilder.cxx +++ b/vcl/jsdialog/jsdialogbuilder.cxx @@ -1655,6 +1655,9 @@ void JSComboBox::set_entry_text(const OUString& rText) void JSComboBox::set_active(int pos) { + if (pos == get_active()) + return; + SalInstanceComboBoxWithEdit::set_active(pos); sendUpdate(); } |