Skip to content

Commit 9123064

Browse files
committed
use the same class name format for tabs
1 parent ddf39d8 commit 9123064

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/the/bytecode/club/bytecodeviewer/gui/resourcelist/ResourceListPane.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ public void openPath(TreePath path)
356356
}
357357

358358
//display via name
359-
BytecodeViewer.viewer.workPane.addClassResource(container, name);
359+
BytecodeViewer.viewer.workPane.addClassResource(container, name.substring(0, name.length() - ".class".length()));
360360
}
361361
catch (Exception e)
362362
{

0 commit comments

Comments
 (0)