diff options
author | David Robillard <d@drobilla.net> | 2009-11-16 04:57:33 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-11-16 04:57:33 +0000 |
commit | 1a725c0811fd15900464e1eff429c6ead90805d4 (patch) | |
tree | f8609772c7833da664b6621cccf32e3dc9d16d0b /src/client | |
parent | b1a0a1b76ee1c9ae469c3d73543998662adc05ee (diff) | |
download | ingen-1a725c0811fd15900464e1eff429c6ead90805d4.tar.gz ingen-1a725c0811fd15900464e1eff429c6ead90805d4.tar.bz2 ingen-1a725c0811fd15900464e1eff429c6ead90805d4.zip |
Add edit checkbutton to canvas menu for fast mouse based control.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2271 a436a847-0d15-0410-975c-d299462d15a1
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); |