Kaydet (Commit) 6bd26237 authored tarafından Rafael Dominguez's avatar Rafael Dominguez Kaydeden (comit) Cédric Bosdonnat

Hide template export option for remote repositories.

Change-Id: I065e6bb271d4fb646feaaf99a211fedff7edc83c
üst e2075f36
......@@ -1258,7 +1258,8 @@ void SfxTemplateManagerDlg::switchMainView(bool bDisplayLocal)
mpViewBar->HideItem(TBI_TEMPLATE_FOLDER_DEL);
// Enable deleting items from the filesystem
// Enable deleting and exporting items from the filesystem
mpTemplateBar->ShowItem(TBI_TEMPLATE_EXPORT);
mpTemplateBar->ShowItem(TBI_TEMPLATE_DELETE);
mpOnlineView->Hide();
......@@ -1270,7 +1271,8 @@ void SfxTemplateManagerDlg::switchMainView(bool bDisplayLocal)
mpViewBar->ShowItem(TBI_TEMPLATE_FOLDER_DEL);
// Disable deleting items from remote repositories
// Disable deleting and exporting items from remote repositories
mpTemplateBar->HideItem(TBI_TEMPLATE_EXPORT);
mpTemplateBar->HideItem(TBI_TEMPLATE_DELETE);
maView->Hide();
......
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