Use screenmarker name not ID for displaying it (#3423)

This commit is contained in:
Lars
2018-05-28 20:13:37 +02:00
committed by Tomas Slusny
parent bcac812635
commit bec6e0afa0

View File

@@ -253,7 +253,7 @@ class ScreenMarkerPanel extends JPanel
nameActions.add(cancel, BorderLayout.WEST);
nameActions.add(rename, BorderLayout.CENTER);
nameInput.setText(marker.getName());
nameInput.setText(marker.getMarker().getName());
nameInput.setBorder(null);
nameInput.setEditable(false);
nameInput.setBackground(ColorScheme.DARKER_GRAY_COLOR);