From 54931cbf26c107a56cab8551802c1e5e3324310a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 23 Apr 2012 03:55:40 +0000 Subject: Fix polyphony widgets (fix #664). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4256 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PropertiesWindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gui/PropertiesWindow.cpp') 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)); -- cgit v1.2.1