Skip to content

Commit

Permalink
fix: ComplexBlockContent value not saved
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberGlitch01 authored and SyntaxGalaxy committed Nov 18, 2023
1 parent bd282f8 commit 1560c47
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ public ComplexBlockContent clone() throws CloneNotSupportedException {
mComplexBlockContent.setType(mType);
mComplexBlockContent.setAcceptance(mAcceptance);
mComplexBlockContent.setSupportCodeEditor(mSupportCodeEditor);
mComplexBlockContent.setBlock(mBlock);
if (mBlock != null) {
mComplexBlockContent.setBlock(mBlock);
}

return mComplexBlockContent;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ public BooleanContent clone() throws CloneNotSupportedException {
mComplexBlockContent.setType(mType);
mComplexBlockContent.setAcceptance(mAcceptance);
mComplexBlockContent.setSupportCodeEditor(mSupportCodeEditor);
mComplexBlockContent.setBlock(mBlock);
if (mBlock != null) {
mComplexBlockContent.setBlock(mBlock);
}

return mComplexBlockContent;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ public NumberContent clone() throws CloneNotSupportedException {
mComplexBlockContent.setType(mType);
mComplexBlockContent.setAcceptance(mAcceptance);
mComplexBlockContent.setSupportCodeEditor(mSupportCodeEditor);
mComplexBlockContent.setBlock(mBlock);
if (mBlock != null) {
mComplexBlockContent.setBlock(mBlock);
}

return mComplexBlockContent;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ public SourceContent clone() throws CloneNotSupportedException {
mComplexBlockContent.setType(mType);
mComplexBlockContent.setAcceptance(mAcceptance);
mComplexBlockContent.setSupportCodeEditor(mSupportCodeEditor);
mComplexBlockContent.setBlock(mBlock);
if (mBlock != null) {
mComplexBlockContent.setBlock(mBlock);
}

return mComplexBlockContent;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ public StringContent clone() throws CloneNotSupportedException {
mComplexBlockContent.setType(mType);
mComplexBlockContent.setAcceptance(mAcceptance);
mComplexBlockContent.setSupportCodeEditor(mSupportCodeEditor);
mComplexBlockContent.setBlock(mBlock);
if (mBlock != null) {
mComplexBlockContent.setBlock(mBlock);
}

return mComplexBlockContent;
}
Expand Down

0 comments on commit 1560c47

Please sign in to comment.