diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-30 13:28:18 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-30 13:28:18 +0300 |
commit | 0bd330eedee899893ef921284a265d635d027f6b (patch) | |
tree | f295c3ca9950ba6cd01ca49439dbb89c745a751d /plugins/NewStory/src/history_menus.cpp | |
parent | 932c6454190cccc4a3dd26b42e439f26104df1dc (diff) |
fixes #3991 (NewStory: доработка контекстного меню журнала)
Diffstat (limited to 'plugins/NewStory/src/history_menus.cpp')
-rw-r--r-- | plugins/NewStory/src/history_menus.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewStory/src/history_menus.cpp b/plugins/NewStory/src/history_menus.cpp index 2404fa0a6b..607525a4db 100644 --- a/plugins/NewStory/src/history_menus.cpp +++ b/plugins/NewStory/src/history_menus.cpp @@ -52,8 +52,8 @@ HMENU NSMenu_Build(NewstoryListData *data, ItemData *item) if (item->m_bOfflineFile) { Menu_ModifyItem(hmiCopyUrl, (item->m_bOfflineDownloaded) ? TranslateT("Copy file path") : TranslateT("Copy URL")); Menu_ShowItem(hmiCopyUrl, true); - Menu_ShowItem(hmiSaveAs, true); - Menu_ShowItem(hmiDownload, !item->m_bOfflineDownloaded); + Menu_ShowItem(hmiSaveAs, bNotProtected); + Menu_ShowItem(hmiDownload, !item->m_bOfflineDownloaded && bNotProtected); Menu_ShowItem(hmiOpenFolder, item->m_bOfflineDownloaded); } |