Added Abhishek Bansal patch:

Diagram::background_color is now selectable
and make component color reverse color for contrast, thanks Abhishek


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2670 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2013-12-26 17:59:58 +00:00
parent ef4bbdf0e3
commit 106b57ba3c
7 changed files with 91 additions and 6 deletions

View File

@@ -652,7 +652,11 @@ void DiagramView::editDiagramProperties() {
/// TODO implement an undo command to allow the user to undo/redo this action
scene -> defaultConductorProperties = new_conductors;
}
if (adjust_scene) adjustSceneRect();
// adjustSceneRect shall be called whenever the user accepts the dialog
// even if no changes have been made.
// Added so that diagram refreshes after back-ground color change.
//if (adjust_scene)
adjustSceneRect();
}
}