diff options
author | Gerald Combs <gerald@wireshark.org> | 2014-08-15 11:23:14 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-08-15 18:49:02 +0000 |
commit | f0e623919115a4654a4bd68aeadeb25f963592b4 (patch) | |
tree | 48ce00d8be9ab7ddc0bb3173349224b59f0f9062 /ui/qt/proto_tree.cpp | |
parent | 978faf396ca743d2c44b1cf3d6df2c563d9fa653 (diff) |
Qt: Disable main menu items that don't do anything.
The functionality associated with Capture → Capture Filters, Analyze
→ Display Filters, Analyze → Display Filter Macros, and Analyze →
Apply As Column haven't been implemented yet. Disable each menu item
for now so that we don't play tricks on our users.
Follow our current action naming convention. Rename "Apply as Column"
to "Create a Column".
Change-Id: I01901db05adc897d877f6a0a699e3049b0149b4a
Reviewed-on: https://code.wireshark.org/review/3629
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/proto_tree.cpp')
-rw-r--r-- | ui/qt/proto_tree.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/proto_tree.cpp b/ui/qt/proto_tree.cpp index c827239211..058292287d 100644 --- a/ui/qt/proto_tree.cpp +++ b/ui/qt/proto_tree.cpp @@ -169,7 +169,7 @@ ProtoTree::ProtoTree(QWidget *parent) : ctx_menu_.addAction(window()->findChild<QAction *>("actionViewExpandAll")); ctx_menu_.addAction(window()->findChild<QAction *>("actionViewCollapseAll")); ctx_menu_.addSeparator(); -// " <menuitem name='ApplyasColumn' action='/Apply as Column'/>\n" +// " <menuitem name='CreateAColumn' action='/Create a Column'/>\n" ctx_menu_.addSeparator(); submenu = new QMenu(tr("Apply as Filter")); ctx_menu_.addMenu(submenu); |