mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +01:00
bug fix, diagramContent: fix the bug about & and ==
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2558 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -1533,7 +1533,7 @@ void QETDiagramEditor::slot_addImage() {
|
||||
void QETDiagramEditor::slot_editSelection() {
|
||||
if (DiagramView *dv = currentDiagram()) {
|
||||
DiagramContent dc = dv -> diagram() -> selectedContent();
|
||||
if (dc.count() != 1) return;
|
||||
if (dc.count(DiagramContent::SelectedOnly | DiagramContent::All) != 1) return;
|
||||
|
||||
if (dc.count(DiagramContent::Elements)) {
|
||||
findSelectedElementInPanel();
|
||||
|
||||
Reference in New Issue
Block a user