Skip to content

Commit 0d74826

Browse files
committed
Change loop playing mode during playback
1 parent 993d740 commit 0d74826

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

sources/editor/pagesmpl.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -1169,3 +1169,8 @@ bool PageSmpl::cutSample(EltID id, quint32 start, quint32 end)
11691169

11701170
return true;
11711171
}
1172+
1173+
void PageSmpl::on_checkLectureBoucle_clicked(bool checked)
1174+
{
1175+
_synth->setLoopEnabled(checked);
1176+
}

sources/editor/pagesmpl.h

+1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ private slots:
8080
void onLinkClicked(EltID id);
8181
void onCutOrdered(int start, int end);
8282
bool cutSample(EltID id, quint32 start, quint32 end);
83+
void on_checkLectureBoucle_clicked(bool checked);
8384

8485
private:
8586
Ui::PageSmpl *ui;

0 commit comments

Comments
 (0)