diff options
author | David Robillard <d@drobilla.net> | 2012-04-23 03:55:40 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-04-23 03:55:40 +0000 |
commit | 54931cbf26c107a56cab8551802c1e5e3324310a (patch) | |
tree | f9a9d8f2fb15ad55417a4a285d6e3aefc5d9ab15 /src/gui/PropertiesWindow.cpp | |
parent | f8081ae941087ca1521d79d6ae9c30f82bcf0847 (diff) | |
download | ingen-54931cbf26c107a56cab8551802c1e5e3324310a.tar.gz ingen-54931cbf26c107a56cab8551802c1e5e3324310a.tar.bz2 ingen-54931cbf26c107a56cab8551802c1e5e3324310a.zip |
Fix polyphony widgets (fix #664).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4256 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/PropertiesWindow.cpp')
-rw-r--r-- | src/gui/PropertiesWindow.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/PropertiesWindow.cpp b/src/gui/PropertiesWindow.cpp index 5294a5cf..0540b7e1 100644 --- a/src/gui/PropertiesWindow.cpp +++ b/src/gui/PropertiesWindow.cpp @@ -123,10 +123,9 @@ PropertiesWindow::create_value_widget(const Raul::URI& uri, const Raul::Atom& va if (value.type() == forge.Int) { Gtk::SpinButton* widget = manage(new Gtk::SpinButton(0.0, 0)); widget->property_numeric() = true; - widget->set_value(value.get_int32()); - widget->set_snap_to_ticks(true); widget->set_range(INT_MIN, INT_MAX); widget->set_increments(1, 10); + widget->set_value(value.get_int32()); widget->signal_value_changed().connect(sigc::bind( sigc::mem_fun(this, &PropertiesWindow::value_edited), uri)); |