[PATCH libreoffice-4-0] Deselect items when searching for templates to reset toolbar...

Rafael Dominguez (via Code Review) gerrit at gerrit.libreoffice.org
Sun Apr 7 11:52:47 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3251

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/51/3251/1

Deselect items when searching for templates to reset toolbars.

Change-Id: I762762f5684287d06a046aca6d7160bce10e3653
---
M sfx2/source/doc/templatedlg.cxx
1 file changed, 1 insertion(+), 0 deletions(-)



diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index 0fdb87f..05dd022 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -687,6 +687,7 @@
         // if the search view is hidden, hide the folder view and display search one
         if (!mpSearchView->IsVisible())
         {
+            mpCurView->deselectItems();
             mpSearchView->Show();
             mpCurView->Hide();
         }

-- 
To view, visit https://gerrit.libreoffice.org/3251
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I762762f5684287d06a046aca6d7160bce10e3653
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Rafael Dominguez <venccsralph at gmail.com>



More information about the LibreOffice mailing list