[Libreoffice-commits] core.git: vcl/source

Andreas Heinisch (via logerrit) logerrit at kemper.freedesktop.org
Sun May 9 20:46:11 UTC 2021


 vcl/source/control/imp_listbox.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 1675a68526c43c6c6e4dc850ee911f0c1de75c88
Author:     Andreas Heinisch <andreas.heinisch at yahoo.de>
AuthorDate: Thu May 6 10:00:08 2021 +0200
Commit:     Andreas Heinisch <andreas.heinisch at yahoo.de>
CommitDate: Sun May 9 22:45:29 2021 +0200

    tdf#97066 - When using CTRL-A in a listbox, update selected items
    
    Change-Id: I4f20b8e744bf99edd0677839654aa78aadcbfc85
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115169
    Tested-by: Jenkins
    Reviewed-by: Andreas Heinisch <andreas.heinisch at yahoo.de>

diff --git a/vcl/source/control/imp_listbox.cxx b/vcl/source/control/imp_listbox.cxx
index 97363aa2e2c3..a97d0f42c18c 100644
--- a/vcl/source/control/imp_listbox.cxx
+++ b/vcl/source/control/imp_listbox.cxx
@@ -1484,6 +1484,9 @@ bool ImplListBoxWindow::ProcessKeyInput( const KeyEvent& rKEvt )
                 for( sal_Int32 i = 0; i < nEntryCount; i++ )
                     SelectEntry( i, true );
 
+                // tdf#97066 - Update selected items
+                ImplCallSelect();
+
                 // restore update mode
                 SetUpdateMode( bUpdates );
                 Invalidate();


More information about the Libreoffice-commits mailing list