diff options
Diffstat (limited to 'src/PatchageEvent.cpp')
-rw-r--r-- | src/PatchageEvent.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp index c3fd144..2b2941b 100644 --- a/src/PatchageEvent.cpp +++ b/src/PatchageEvent.cpp @@ -71,7 +71,9 @@ PatchageEvent::execute(Patchage* patchage) { //cerr << "{ EXECUTING EVENT" << endl; - if (_type == PORT_CREATION) { + if (_type == REFRESH) { + patchage->refresh(); + } else if (_type == PORT_CREATION) { jack_port_t* jack_port = NULL; if (patchage->jack_driver()->client()) jack_port = jack_port_by_id(patchage->jack_driver()->client(), _port_1.id.jack_id); |