summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/mgetempl.cxx
diff options
context:
space:
mode:
authorshubham656 <shubham656jain@gmail.com>2020-11-24 02:09:30 +0530
committerJim Raykowski <raykowj@gmail.com>2020-11-24 06:38:50 +0100
commit1795cfde106c830bff513d3a9ff27d1759f9b227 (patch)
tree63a986f3d3cd76babfe1bfda645f7a66293f3396 /sfx2/source/dialog/mgetempl.cxx
parent9c355a82881d8e13d6bc732e13b28d62962bf245 (diff)
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@gmail.com>
Diffstat (limited to 'sfx2/source/dialog/mgetempl.cxx')
-rw-r--r--sfx2/source/dialog/mgetempl.cxx5
1 files changed, 5 insertions, 0 deletions
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 )