Skip to content

Commit

Permalink
Add a menu command to dump view hierarchy
Browse files Browse the repository at this point in the history
Issue: #218
  • Loading branch information
mlopatkin committed Jan 14, 2022
1 parent b40fb9b commit 9a85a4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/name/mlopatkin/andlogview/MainFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,9 @@ private void setupMainMenu(MainFilterController mainFilterController) {
JMenu mnView = new JMenu("View");
mnView.add(acShowBookmarks);
mnView.add(acShowProcesses);
if (commandLine.isDebug()) {
mnView.add(UiHelper.makeAction("Dump view hierarchy", this::list));
}
mainMenu.add(mnView);

JMenu mnAdb = new JMenu("ADB");
Expand Down

0 comments on commit 9a85a4b

Please sign in to comment.