Kaydet (Commit) 0e173abe authored tarafından Rafael Dominguez's avatar Rafael Dominguez

Hide creating a new template folder when theres one already selected.

Change-Id: I9924eb5ca66c61b2a1d3b66989b794d58e26d703
üst 85b56737
...@@ -754,6 +754,7 @@ void SfxTemplateManagerDlg::OnRegionState (const ThumbnailViewItem *pItem) ...@@ -754,6 +754,7 @@ void SfxTemplateManagerDlg::OnRegionState (const ThumbnailViewItem *pItem)
{ {
mpViewBar->ShowItem(TBI_TEMPLATE_IMPORT); mpViewBar->ShowItem(TBI_TEMPLATE_IMPORT);
mpViewBar->ShowItem(TBI_TEMPLATE_FOLDER_DEL); mpViewBar->ShowItem(TBI_TEMPLATE_FOLDER_DEL);
mpViewBar->HideItem(TBI_TEMPLATE_FOLDER_NEW);
} }
maSelFolders.insert(pItem); maSelFolders.insert(pItem);
...@@ -766,6 +767,7 @@ void SfxTemplateManagerDlg::OnRegionState (const ThumbnailViewItem *pItem) ...@@ -766,6 +767,7 @@ void SfxTemplateManagerDlg::OnRegionState (const ThumbnailViewItem *pItem)
{ {
mpViewBar->HideItem(TBI_TEMPLATE_IMPORT); mpViewBar->HideItem(TBI_TEMPLATE_IMPORT);
mpViewBar->HideItem(TBI_TEMPLATE_FOLDER_DEL); mpViewBar->HideItem(TBI_TEMPLATE_FOLDER_DEL);
mpViewBar->ShowItem(TBI_TEMPLATE_FOLDER_NEW);
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment