Skip to content

Commit

Permalink
fix(gui): quick fix for duplicate/overlapping logcat windows (#1752)(PR
Browse files Browse the repository at this point in the history
#1761)

* Simple fix to duplicate/overlapping logcat windows. Could be improved by not re-creating UI every time
* Apply suggestions from code review
* Another try to fix trailing spaces using GitHub suggestions

Co-authored-by: Zach Snell <zach.snell@bivalogic.com>
Co-authored-by: skylot <118523+skylot@users.noreply.github.com>
  • Loading branch information
3 people committed Jan 21, 2023
1 parent 068e4b8 commit 1c36b3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jadx-gui/src/main/java/jadx/gui/ui/panel/LogcatPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ public void actionPerformed(ActionEvent e) {
};

public boolean showLogcat() {
this.removeAll();

ArrayList<String> pkgs = new ArrayList<>();
pids = new ArrayList<>();
JPanel procBox;
Expand Down

0 comments on commit 1c36b3c

Please sign in to comment.