mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Added 'Add Watch' to some right-click menus (ie: autos)
This commit is contained in:
parent
6854c404d8
commit
73376d2f75
1 changed files with 6 additions and 0 deletions
|
@ -2756,6 +2756,12 @@ namespace IDE.ui
|
|||
if (watchEntry.mReferenceId != null)
|
||||
AddDisplayTypeMenu("Watch Display", menu, listViewItem.mWatchEntry.mResultType, watchEntry.mReferenceId, true);
|
||||
|
||||
anItem = menu.AddItem("Add Watch");
|
||||
anItem.mOnMenuItemSelected.Add(new (menu) =>
|
||||
{
|
||||
IDEApp.sApp.AddWatch(watchEntry.mEvalStr);
|
||||
});
|
||||
|
||||
if (!watchEntry.IsConstant)
|
||||
{
|
||||
anItem = menu.AddItem("Break When Value Changes");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue