Skip to content

Commit

Permalink
[CORRECTIVE] Fix draft bus interface mode combobox items to match IP-…
Browse files Browse the repository at this point in the history
…XACT revision in use.
  • Loading branch information
hagantsa committed Jul 2, 2024
1 parent 02d83b1 commit 83748c8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 11 deletions.
20 changes: 17 additions & 3 deletions editors/common/InterfaceEditor/interfaceeditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,23 @@ void InterfaceEditor::setInterface(ConnectionEndpoint* interface, QSharedPointer
// Fill the rest of the editors based on the interface type.
if (interface_->isBus())
{
disconnect(&modeSelector_, SIGNAL(currentTextChanged(QString const&)),
this, SLOT(onInterfaceModeChanged(QString const&)));
modeSelector_.clear();

// set the possible modes to the mode editor
if (containingDesign->getRevision() == Document::Revision::Std22)
{
modeSelector_.addItems(General::INTERFACE_MODES_2022.values());
}
else
{
modeSelector_.addItems(General::INTERFACE_MODES.values());
}

connect(&modeSelector_, SIGNAL(currentTextChanged(QString const&)),
this, SLOT(onInterfaceModeChanged(QString const&)), Qt::UniqueConnection);

setBusInterface();
}
else if (interface_->isApi())
Expand Down Expand Up @@ -546,9 +563,6 @@ void InterfaceEditor::setupBusEditor()
absType_.setTitle(tr("Abstraction type VLNV"));
absType_.setFlat(true);

// set the possible modes to the mode editor
modeSelector_.addItems(General::INTERFACE_MODES.values());

portMapsView_.setSortingEnabled(true);
portMapsView_.setSelectionMode(QAbstractItemView::SingleSelection);
portMapsView_.verticalHeader()->hide();
Expand Down
16 changes: 8 additions & 8 deletions version.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@
#ifndef VERSIONNO__H
#define VERSIONNO__H

#define VERSION_FULL 3.13.435.0
#define VERSION_FULL 3.13.443.0

#define VERSION_BASEYEAR 0
#define VERSION_DATE "2024-07-01"
#define VERSION_TIME "13:29:28"
#define VERSION_DATE "2024-07-02"
#define VERSION_TIME "15:16:26"

#define VERSION_MAJOR 3
#define VERSION_MINOR 13
#define VERSION_BUILDNO 435
#define VERSION_BUILDNO 443
#define VERSION_EXTEND 0

#define VERSION_FILE 3,13,435,0
#define VERSION_PRODUCT 3,13,435,0
#define VERSION_FILESTR "3,13,435,0"
#define VERSION_PRODUCTSTR "3,13,435,0"
#define VERSION_FILE 3,13,443,0
#define VERSION_PRODUCT 3,13,443,0
#define VERSION_FILESTR "3,13,443,0"
#define VERSION_PRODUCTSTR "3,13,443,0"

#endif

0 comments on commit 83748c8

Please sign in to comment.