Changeset 9a352e40 in OpenModelica


Ignore:
Timestamp:
2019-01-18T14:37:56+01:00 (5 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:
0bae201
Parents:
d04b21f
Message:

Text view for OMSimulator components

File:
1 edited

Legend:

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

    r5cdb13db r9a352e40  
    38423842      connect(mpDiagramViewToolButton, SIGNAL(toggled(bool)), SLOT(showDiagramView(bool)));
    38433843      pViewButtonsHorizontalLayout->addWidget(mpDiagramViewToolButton);
    3844       // Only the top level OMSimualtor models or systems will have the editor.
    3845       if (mpLibraryTreeItem->isTopLevel() || mpLibraryTreeItem->isSystemElement()) {
     3844      // Only the top level OMSimualtor models or systems or components will have the editor.
     3845      if (mpLibraryTreeItem->isTopLevel() || mpLibraryTreeItem->isSystemElement() || mpLibraryTreeItem->isComponentElement()) {
    38463846        connect(mpTextViewToolButton, SIGNAL(toggled(bool)), SLOT(showTextView(bool)));
    38473847        pViewButtonsHorizontalLayout->addWidget(mpTextViewToolButton);
Note: See TracChangeset for help on using the changeset viewer.