Skip to content

Commit

Permalink
fix FS#919 - Insert block with attributes: third attribute input not …
Browse files Browse the repository at this point in the history
…working
  • Loading branch information
qcad committed Sep 19, 2013
1 parent 526a64e commit a815a7e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 8 additions & 0 deletions scripts/Block/InsertBlock/InsertBlock.js
Expand Up @@ -310,3 +310,11 @@ InsertBlock.prototype.slotAttribute2Changed = function(value) {
this.updatePreview(true);
};

InsertBlock.prototype.slotAttribute3Changed = function(value) {
if (isNull(this.attributeTags[2])) {
return;
}

this.attributes[this.attributeTags[2]] = value;
this.updatePreview(true);
};
2 changes: 0 additions & 2 deletions src/core/RDocumentInterface.cpp
Expand Up @@ -966,8 +966,6 @@ bool RDocumentInterface::exportFile(const QString& fileName, const QString& file
return false;
}

qDebug() << "RDocumentInterface::exportFile: INSUNITS: " << document.getKnownVariable(RS::INSUNITS);

bool success = fileExporter->exportFile(fileName, fileVersion, resetModified);

if (success) {
Expand Down

0 comments on commit a815a7e

Please sign in to comment.