Skip to content

Commit aefc6f7

Browse files
Merge pull request #28383 from krasko78/28374-PartialTiesPopupItemsNotClickable
28374: Partial ties popup does not react to clicks
2 parents 9fffe8a + 6444ff7 commit aefc6f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/notation/view/internal/partialtiepopupmodel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ void PartialTiePopupModel::init()
7979
load();
8080
}
8181

82-
void PartialTiePopupModel::toggleItemChecked(QString& id)
82+
void PartialTiePopupModel::toggleItemChecked(const QString& id)
8383
{
8484
Tie* tieItem = tie();
8585
if (!tieItem || !tieItem->tieJumpPoints()) {

src/notation/view/internal/partialtiepopupmodel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class PartialTiePopupModel : public AbstractElementPopupModel
2222
QPointF dialogPosition() const;
2323

2424
Q_INVOKABLE void init() override;
25-
Q_INVOKABLE void toggleItemChecked(QString& id);
25+
Q_INVOKABLE void toggleItemChecked(const QString& id);
2626

2727
Q_INVOKABLE void onClosed();
2828

0 commit comments

Comments
 (0)