Changeset 8f6676e7 in OpenModelica


Ignore:
Timestamp:
2016-04-07T13:43:32+02:00 (8 years ago)
Author:
Adeel Asghar <adeel.asghar@…>
Branches:
Added-citation-metadata, maintenance/v1.14, maintenance/v1.15, maintenance/v1.16, 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:
2f0b650, 5e460b67, fcbacb9
Parents:
c84ef065
Message:

Fixed dragging of external models.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OMEdit/OMEditGUI/Component/Component.cpp

    re3d9697 r8f6676e7  
    628628{
    629629  CoOrdinateSystem coOrdinateSystem;
    630   if (mpLibraryTreeItem && !mpLibraryTreeItem->isNonExisting()) {
     630  if (mpLibraryTreeItem && !mpLibraryTreeItem->isNonExisting() && mpLibraryTreeItem->getLibraryType() == LibraryTreeItem::Modelica) {
    631631    if (mpLibraryTreeItem->isConnector()) {
    632632      if (mpGraphicsView->getViewType() == StringHandler::Icon) {
Note: See TracChangeset for help on using the changeset viewer.