diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/PatchModel.hpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/client/PatchModel.hpp b/src/client/PatchModel.hpp index 6b8398ae..8245ee5a 100644 --- a/src/client/PatchModel.hpp +++ b/src/client/PatchModel.hpp @@ -55,10 +55,12 @@ public: * not editable (control mode) you can just change controllers (performing) */ bool get_editable() const { return _editable; } - void set_editable(bool e) { if (_editable != e) { - _editable = e; - signal_editable.emit(e); - } } + void set_editable(bool e) { + if (_editable != e) { + _editable = e; + signal_editable.emit(e); + } + } virtual Raul::Atom& set_meta_property(const Raul::URI& key, const Raul::Atom& value); |