﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
18377	Merge (selection) into a new layer	anonymous	team	"==== What steps will reproduce the problem?
1. Select any object.
2. Choose ""Merge selection""

==== What is the expected result?
When there is only one data layer, a useful enhancement would be to ask a user ""Would you like the selection to be merged into a new layer?"" and provide ""Yes"" and ""No"" buttons. ""No"" could be the default, but ""Yes"" would be appreciated because currently users have to create a new empty layer first, then make the source layer active again, and then do the desired merge. Likewise, when there are a number of data layers, having ""New layer"" as an option in the dropdown list of layers would be practical too.

==== What happens instead?
When there is only one data layer, message ""There are no layers the source layer could be merged to."" is shown with ""Ok"" button only.


==== Please provide any additional information below. Attach a screenshot if possible.

{{{
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-11-01 23:59:01 +0100 (Fri, 01 Nov 2019)
Build-Date:2019-11-01 22:59:57
Revision:15492
Relative:URL: ^/trunk

Identification: JOSM/1.5 (15492 en) Windows 10 64-Bit
OS Build number: Windows 10 Home 1909 (18363)
Memory Usage: 1521 MB / 3641 MB (1028 MB allocated, but free)
Java version: 1.8.0_181-b13, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 2736x1824
Maximum Screen Size: 2736x1824
Dataset consistency test: No problems found

Plugins:
+ reverter (35084)
+ undelete (34977)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
}}}
"	enhancement	new	normal		Core			template_report merge new layer	
