mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.ide fix logic in previous change (disabling delete package option for main package)
git-svn-id: svn://ultimatepp.org/upp/trunk@10305 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
fcbe955667
commit
97bf78a99c
1 changed files with 1 additions and 1 deletions
|
|
@ -1058,7 +1058,7 @@ void WorkspaceWork::PackageMenu(Bar& menu)
|
|||
menu.Add(cando, ~NFormat("Add package to '%s'", act), IdeImg::package_add(), THISBACK(AddNormalUses));
|
||||
RemovePackageMenu(menu);
|
||||
if(menu.IsMenuBar()) {
|
||||
bool main = package.GetCursor() > 0;
|
||||
bool main = package.GetCursor() == 0;
|
||||
|
||||
menu.Add(cando, "Rename package..", THISBACK(RenamePackage));
|
||||
menu.Add(cando, "Delete package", THISBACK(DeletePackage))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue