Skip to content

Commit

Permalink
[CORRECTIVE] Updated vendor extension editor child extension addition.
Browse files Browse the repository at this point in the history
  • Loading branch information
teuhom committed Mar 28, 2019
1 parent 66b5fff commit a6a227d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 16 deletions.
9 changes: 5 additions & 4 deletions common/views/EditableTreeView/EditableTreeView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,14 @@ void EditableTreeView::onAddSubItem()
{
QApplication::setOverrideCursor(Qt::WaitCursor);

QModelIndexList currentIndexes = selectedIndexes();
QModelIndexList currentIndexes;
for (auto index : selectedIndexes())
{
currentIndexes.append(index.sibling(index.row(), 0));
}

emit addSubItem(currentIndexes);

clearSelection();
setCurrentIndex(QModelIndex());

foreach (QModelIndex index, currentIndexes)
{
expand(index);
Expand Down
13 changes: 8 additions & 5 deletions editors/common/VendorExtensionEditor/VendorExtensionsModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,16 @@ QVariant VendorExtensionsModel::valueForIndex(QModelIndex const& index) const
}
else if (index.column() == VendorExtensionColumns::ATTRIBUTES)
{
QStringList typeList;
for (auto attribute : genericExtension->getAttributes())
if (genericExtension)
{
typeList.append(attribute.first);
}
QStringList typeList;
for (auto attribute : genericExtension->getAttributes())
{
typeList.append(attribute.first);
}

return typeList.join(",");
return typeList.join(",");
}
}
else if (index.column() == VendorExtensionColumns::VALUE)
{
Expand Down
14 changes: 7 additions & 7 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.6.809.0
#define VERSION_FULL 3.6.833.0

#define VERSION_BASEYEAR 0
#define VERSION_DATE "2019-03-28"
#define VERSION_TIME "12:46:13"
#define VERSION_TIME "14:53:53"

#define VERSION_MAJOR 3
#define VERSION_MINOR 6
#define VERSION_BUILDNO 809
#define VERSION_BUILDNO 833
#define VERSION_EXTEND 0

#define VERSION_FILE 3,6,809,0
#define VERSION_PRODUCT 3,6,809,0
#define VERSION_FILESTR "3,6,809,0"
#define VERSION_PRODUCTSTR "3,6,809,0"
#define VERSION_FILE 3,6,833,0
#define VERSION_PRODUCT 3,6,833,0
#define VERSION_FILESTR "3,6,833,0"
#define VERSION_PRODUCTSTR "3,6,833,0"

#endif

0 comments on commit a6a227d

Please sign in to comment.