Use correct marker name when cancelling edit
Instead of using marker overlay name use marker name, as marker overlay name contains date. Fixes #4634 Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
@@ -207,7 +207,7 @@ class ScreenMarkerPanel extends JPanel
|
|||||||
public void mousePressed(MouseEvent mouseEvent)
|
public void mousePressed(MouseEvent mouseEvent)
|
||||||
{
|
{
|
||||||
nameInput.setEditable(false);
|
nameInput.setEditable(false);
|
||||||
nameInput.setText(marker.getName());
|
nameInput.setText(marker.getMarker().getName());
|
||||||
updateNameActions(false);
|
updateNameActions(false);
|
||||||
requestFocusInWindow();
|
requestFocusInWindow();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user