Changeset bc86d381 in OpenModelica


Ignore:
Timestamp:
2020-11-09T17:10:24+01:00 (3 years ago)
Author:
Adeel Asghar <adeel.asghar@…>
Branches:
Added-citation-metadata, maintenance/v1.17, maintenance/v1.18, maintenance/v1.19, maintenance/v1.20, maintenance/v1.21, maintenance/v1.22, maintenance/v1.23, master, omlib-staging
Children:
a2396680, af7975b7
Parents:
b18b700d
git-author:
Adeel Asghar <adeel.asghar@…> (11/09/20 16:27:30)
git-committer:
Adeel Asghar <adeel.asghar@…> (11/09/20 17:10:24)
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

    re75d8c8b rbc86d381  
    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.