Multipaste : auto-num of element work, even if the option "erase label on copy /paste" is enable.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5337 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2018-04-21 17:48:22 +00:00
parent f4a7de8f37
commit 5e15c597c1
4 changed files with 20 additions and 7 deletions

View File

@@ -100,7 +100,7 @@ void PasteDiagramCommand::redo()
//make new uuid, because old uuid are the uuid of the copied element
e -> newUuid();
if (settings.value("diagramcommands/save-label", true).toBool())
if (settings.value("diagramcommands/erase-label-on-copy", true).toBool())
{
//Reset the information about the label, the comment and location
e -> rElementInformations().addValue("formula", "");