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

shubham656 (via logerrit) logerrit at kemper.freedesktop.org
Tue Nov 24 05:39:35 UTC 2020


 sfx2/source/dialog/mgetempl.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 1795cfde106c830bff513d3a9ff27d1759f9b227
Author:     shubham656 <shubham656jain at gmail.com>
AuthorDate: Tue Nov 24 02:09:30 2020 +0530
Commit:     Jim Raykowski <raykowj at gmail.com>
CommitDate: Tue Nov 24 06:38:50 2020 +0100

    tdf#132860 Assign value to set_sensitive flag in m_xName
    
    Change-Id: I9438e1a18253d90ff26e71b3aab83e96468fb9d0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106461
    Tested-by: Jenkins
    Reviewed-by: Jim Raykowski <raykowj at gmail.com>

diff --git a/sfx2/source/dialog/mgetempl.cxx b/sfx2/source/dialog/mgetempl.cxx
index 46536f3f4d8c..4ab0c2d2523c 100644
--- a/sfx2/source/dialog/mgetempl.cxx
+++ b/sfx2/source/dialog/mgetempl.cxx
@@ -123,6 +123,11 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage(weld::Container* pPage, weld::D
     {
         m_xName->set_can_focus(true);
         m_xName->set_editable(true);
+        m_xName->set_sensitive(true);
+    }
+    else
+    {
+        m_xName->set_sensitive(false);
     }
 
     if ( pStyle->HasFollowSupport() && pPool )


More information about the Libreoffice-commits mailing list