mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-08 22:59:58 +01:00
When we link two reports together, if the text is the same for every conductors, we don't ask to user what to do, even if the function or the tension/protocol are not identical.
Now we check : text, function and tension/protocol, if one of these three values is not identical, we ask to user what to do. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5032 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -83,10 +83,12 @@ LinkSingleElementWidget::~LinkSingleElementWidget()
|
||||
if(m_showed_element)
|
||||
m_showed_element->setHighlighted(false);
|
||||
|
||||
m_element->setHighlighted(false);
|
||||
|
||||
if (!m_element->isFree())
|
||||
m_element->linkedElements().first()->setHighlighted(false);
|
||||
if(m_element)
|
||||
{
|
||||
m_element->setHighlighted(false);
|
||||
if (!m_element->isFree())
|
||||
m_element->linkedElements().first()->setHighlighted(false);
|
||||
}
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user