summaryrefslogtreecommitdiffstats
path: root/src/libs/client/PatchModel.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/client/PatchModel.hpp')
-rw-r--r--src/libs/client/PatchModel.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/client/PatchModel.hpp b/src/libs/client/PatchModel.hpp
index 77b597d5..21e89cee 100644
--- a/src/libs/client/PatchModel.hpp
+++ b/src/libs/client/PatchModel.hpp
@@ -69,6 +69,7 @@ public:
sigc::signal<void, SharedPtr<ConnectionModel> > signal_removed_connection;
sigc::signal<void> signal_enabled;
sigc::signal<void> signal_disabled;
+ sigc::signal<void, uint32_t> signal_polyphony;
sigc::signal<void, bool> signal_editable;
private:
@@ -83,7 +84,7 @@ private:
}
void filename(const string& f) { _filename = f; }
- void poly(size_t p) { _poly = p; }
+ void poly(size_t p) { _poly = p; signal_polyphony.emit(p); }
void enable();
void disable();
void clear();