mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
link single element widget: fix wrong behavior with the the bouton "see the linked element"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2927 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -89,10 +89,10 @@ void LinkSingleElementWidget::buildInterface() {
|
||||
}
|
||||
|
||||
buildList();
|
||||
if (!element_->isFree()) {
|
||||
ui->button_linked->setDisabled(true);
|
||||
|
||||
element_->isFree() ?
|
||||
ui->button_linked->setDisabled(true) :
|
||||
buildUnlinkButton();
|
||||
}
|
||||
|
||||
if(filter_ & Element::Master)
|
||||
buildSearchField();
|
||||
|
||||
Reference in New Issue
Block a user