Skip to content

Commit

Permalink
Update nullobject.cpp
Browse files Browse the repository at this point in the history
Bug fix. Make sure type is restored. This will make the updatePath function run twice, but it's better than wrong state on load.

Ref: #339
  • Loading branch information
rodlie committed Nov 29, 2024
1 parent e1361c2 commit 6d03845
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/Boxes/nullobject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ NullObjectType::NullObjectType(ColorAnimator* const color,

connect(this, &ComboBoxProperty::prp_currentFrameChanged,
this, &NullObjectType::updatePath);
connect(this, &ComboBoxProperty::prp_pathChanged,
this, &NullObjectType::updatePath);
connect(mSize, &QrealAnimator::prp_currentFrameChanged,
this, &NullObjectType::updatePath);
updatePath();
Expand Down

0 comments on commit 6d03845

Please sign in to comment.