Skip to content

Commit

Permalink
Fix: [HBox] undo stack for editDrag
Browse files Browse the repository at this point in the history
  • Loading branch information
worldwideweary authored and Jojo-Schmitz committed Sep 12, 2024
1 parent ba5cd4f commit 7e59be7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions libmscore/box.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -643,16 +643,6 @@ QRectF HBox::drag(EditData& data)
return canvasBoundingRect() | r;
}

//---------------------------------------------------------
// endEditDrag
//---------------------------------------------------------

void HBox::endEditDrag(EditData&)
{
triggerLayout();
score()->update();
}

//---------------------------------------------------------
// isMovable
//---------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion libmscore/box.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ class HBox final : public Box {
bool readProperties(XmlReader&) override;

QRectF drag(EditData&) override;
void endEditDrag(EditData&) override;
void layout2();
bool isMovable() const override;
void computeMinWidth() override;
Expand Down

0 comments on commit 7e59be7

Please sign in to comment.