Commit df1adf70 authored by Don Gagne's avatar Don Gagne

Disconnect remove action

Waiting for real fix to put back. Issue #1275
parent 1b1b495e
......@@ -483,10 +483,14 @@ void UASView::contextMenuEvent (QContextMenuEvent* event)
menu.addAction(selectAction);
menu.addSeparator();
menu.addAction(renameAction);
/*
FIXME: The code below is incorrect. removeAction should only be available when link is
disconnected. fSee Issue #1275
if (timeout)
{
menu.addAction(removeAction);
}
*/
menu.addAction(hilAction);
menu.addAction(selectAirframeAction);
menu.addAction(setBatterySpecsAction);
......
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