ide: Delete now works on separator

git-svn-id: svn://ultimatepp.org/upp/trunk@11315 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2017-09-10 14:20:34 +00:00
parent d4b01b3f4f
commit 340b33e800
2 changed files with 2 additions and 2 deletions

View file

@ -142,7 +142,7 @@ In single`-thread code, a single instance of such model would
be used over the whole loop, however in multi`-threaded code,
each worker thread, plus thread that created CoWork need its
own instance. CoWorkerResources helps to manage such situation.&]
[s0;%% &]
[s3;%% &]
[ {{10000F(128)G(128)@1 [s0;%% [* Public Method List]]}}&]
[s3; &]
[s5;:Upp`:`:CoWorkerResources`:`:CoWorkerResources`(`): [* CoWorkerResources]()&]

View file

@ -867,7 +867,7 @@ void WorkspaceWork::FileMenu(Bar& menu)
menu.Add("Remove", THISBACK(RemoveFile))
.Key(organizer ? K_DELETE : K_ALT_DELETE)
.Help("Remove file / separator / topic group from package");
menu.Add(filelist.IsCursor() && !sel, "Delete", THISBACK(DelFile))
menu.Add(filelist.IsCursor(), "Delete", sel ? THISBACK(RemoveFile) : THISBACK(DelFile))
.Help("Remove file / topic group reference from package & delete file / folder on disk");
menu.Separator();
menu.Add("Open File Directory",THISBACK(OpenFileFolder));