mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
folio report: add user able to make custom label.
Revamp GUI dialog for new diagram configuration. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2749 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -849,7 +849,7 @@ bool DiagramView::mustIntegrateTitleBlockTemplate(const TitleBlockTemplateLocati
|
||||
bool DiagramView::addElementAtPos(const ElementsLocation &location, const QPoint &pos) {
|
||||
// construit une instance de l'element correspondant a l'emplacement
|
||||
int state;
|
||||
Element *el = ElementFactory::Instance()->createElement(location, 0, 0, &state);
|
||||
Element *el = ElementFactory::Instance()->createElement(location, 0, diagram(), &state);
|
||||
if (state) {
|
||||
delete el;
|
||||
return(false);
|
||||
|
||||
Reference in New Issue
Block a user