mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 06:12:05 +01:00
debug: show active tab on Smack debugger startup
Enhanced Debugger Window showed Smack Info tab, now shows active connection. Fixes SMACK-367.
This commit is contained in:
parent
5c5dfedce2
commit
c07f41c119
1 changed files with 1 additions and 0 deletions
|
@ -143,6 +143,7 @@ public final class EnhancedDebuggerWindow {
|
|||
debugger.tabbedPane.setName("XMPPConnection_" + tabbedPane.getComponentCount());
|
||||
tabbedPane.add(debugger.tabbedPane, tabbedPane.getComponentCount() - 1);
|
||||
tabbedPane.setIconAt(tabbedPane.indexOfComponent(debugger.tabbedPane), connectionCreatedIcon);
|
||||
tabbedPane.setSelectedIndex(tabbedPane.indexOfComponent(debugger.tabbedPane));
|
||||
frame.setTitle(
|
||||
"Smack Debug Window -- Total connections: " + (tabbedPane.getComponentCount() - 1));
|
||||
// Keep the added debugger for later access
|
||||
|
|
Loading…
Reference in a new issue