File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed
Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -684,11 +684,8 @@ void EditorViewScene::replaceBy()
684684 for (const QString &elementInGroup : groupsContents) {
685685 const Id id = Id::loadFromString (" qrm:/" + elem->id ().editor () + " /"
686686 + elem->id ().diagram () + " /" + elementInGroup);
687- const QString friendlyName = mEditorManager .friendlyName (id);
688687 if (currentDiagramsAllowedElementsSet.contains (id)) {
689- QAction *element = new QAction (friendlyName, &menu);
690- element->setData (id.toString ());
691- menu.addAction (element);
688+ menu.addAction (mEditorManager .icon (id), mEditorManager .friendlyName (id))->setData (id.toString ());
692689 }
693690 }
694691 }
Original file line number Diff line number Diff line change 192192 <translation type =" unfinished" ></translation >
193193 </message >
194194 <message >
195- <location line =" +240 " />
195+ <location line =" +237 " />
196196 <source >Add child</source >
197197 <translation type =" unfinished" >Rajouter un élement</translation >
198198 </message >
Original file line number Diff line number Diff line change 196196 <translation >Заменить на...</translation >
197197 </message >
198198 <message >
199- <location line =" +240 " />
199+ <location line =" +237 " />
200200 <source >Add child</source >
201201 <translation >Добавить элемент</translation >
202202 </message >
You can’t perform that action at this time.
0 commit comments