Changeset ba128a4 in OpenModelica


Ignore:
Timestamp:
2020-11-11T00:35:34+01:00 (4 years ago)
Author:
Adrian Pop <adrian.pop@…>
Children:
5f88c41
Parents:
ee691de1
git-author:
Adeel Asghar <adeel.asghar@…> (11/09/20 16:27:30)
git-committer:
Adrian Pop <adrian.pop@…> (11/11/20 00:35:34)
Message:

First set the connection creation flag false to avoid unexpected events

Fixes ticket:6182

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.cpp

    r59175cf6 rba128a4  
    20622062    }
    20632063  } else { // When clicking the end component
     2064    setIsCreatingConnection(false);
    20642065    mpConnectionLineAnnotation->setEndComponent(pComponent);
    20652066    // update the last point to the center of component
     
    22242225        }
    22252226      }
    2226       setIsCreatingConnection(false);
    22272227    }
    22282228  }
Note: See TracChangeset for help on using the changeset viewer.