forked from qt-creator/qt-creator
Debugger: Add ability to hide view columns
Not perfect, e.g. one would probably expect the items to appear in the context menu of the header views, too, not just on the main background of the view, but better than nothing. Task-number: QTCREATORBUG-23342 Change-Id: Ifdc44dcfd390112faa7b15bb8a51d809e42d7b29 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -756,7 +756,7 @@ bool RegisterHandler::contextMenuEvent(const ItemViewEvent &ev)
|
||||
addFormatAction(tr("Octal"), OctalFormat);
|
||||
addFormatAction(tr("Binary"), BinaryFormat);
|
||||
|
||||
menu->addSeparator();
|
||||
Internal::addHideColumnActions(menu, ev.view());
|
||||
menu->addAction(action(SettingsDialog));
|
||||
menu->popup(ev.globalPos());
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user