mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-22 01:10:53 +01:00
Conductor: fix minor bug about text visibility
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3364 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -1198,10 +1198,9 @@ void Conductor::calculateTextItemPosition() {
|
|||||||
foreach (Conductor *c, relatedPotentialConductors(false)) {
|
foreach (Conductor *c, relatedPotentialConductors(false)) {
|
||||||
c -> textItem() -> setVisible(false);
|
c -> textItem() -> setVisible(false);
|
||||||
}
|
}
|
||||||
|
//Make sure text item is visible
|
||||||
|
text_item -> setVisible(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Make sure text item is visible
|
|
||||||
text_item -> setVisible(true);
|
|
||||||
|
|
||||||
//position
|
//position
|
||||||
if (text_item -> wasMovedByUser()) {
|
if (text_item -> wasMovedByUser()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user