Skip to content

Commit 014112e

Browse files
committed
inconsistent naming of sidebar_staff.png in Customer Tool
fixes #48
1 parent efbd4e2 commit 014112e

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

Customer/src/main/java/de/openindex/support/customer/CustomerFrame.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
import javax.swing.event.DocumentEvent;
4646
import javax.swing.event.DocumentListener;
4747
import net.miginfocom.swing.MigLayout;
48+
import org.apache.commons.lang3.ObjectUtils;
4849
import org.apache.commons.text.StringEscapeUtils;
4950
import org.slf4j.Logger;
5051
import org.slf4j.LoggerFactory;
@@ -117,7 +118,7 @@ public void windowClosing(WindowEvent e) {
117118

118119
// sidebar
119120
SidebarPanel sidebarPanel = new SidebarPanel(
120-
ImageUtils.loadImage(CustomerApplication.resource("sidebar_staff.png")),
121+
ImageUtils.loadImage(ObjectUtils.defaultIfNull(CustomerApplication.resource("sidebar.png"), CustomerApplication.resource("sidebar_staff.png"))),
121122
ImageUtils.loadImage(CustomerApplication.resourceBranding())
122123
);
123124

File renamed without changes.

0 commit comments

Comments
 (0)