aboutsummaryrefslogtreecommitdiffstats
path: root/src/gui/MachinaGUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/MachinaGUI.cpp')
-rw-r--r--src/gui/MachinaGUI.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gui/MachinaGUI.cpp b/src/gui/MachinaGUI.cpp
index d963217..63cbb76 100644
--- a/src/gui/MachinaGUI.cpp
+++ b/src/gui/MachinaGUI.cpp
@@ -72,7 +72,6 @@ MachinaGUI::MachinaGUI(SPtr<machina::Engine> engine)
xml->get_widget("help_help_menuitem", _menu_help_help);
xml->get_widget("canvas_scrolledwindow", _canvas_scrolledwindow);
xml->get_widget("step_record_checkbutton", _step_record_checkbutton);
- xml->get_widget("clock_checkbutton", _clock_checkbutton);
xml->get_widget("bpm_spinbutton", _bpm_spinbutton);
xml->get_widget("quantize_checkbutton", _quantize_checkbutton);
xml->get_widget("quantize_spinbutton", _quantize_spinbutton);
@@ -139,12 +138,10 @@ MachinaGUI::MachinaGUI(SPtr<machina::Engine> engine)
sigc::mem_fun(this, &MachinaGUI::menu_help_about));
_menu_help_help->signal_activate().connect(
sigc::mem_fun(this, &MachinaGUI::menu_help_help));
- _clock_checkbutton->signal_toggled().connect(
+ _bpm_spinbutton->signal_changed().connect(
sigc::mem_fun(this, &MachinaGUI::tempo_changed));
_quantize_checkbutton->signal_toggled().connect(
sigc::mem_fun(this, &MachinaGUI::quantize_changed));
- _quantize_spinbutton->signal_changed().connect(
- sigc::mem_fun(this, &MachinaGUI::quantize_changed));
_mutate_button->signal_clicked().connect(
sigc::bind(sigc::mem_fun(this, &MachinaGUI::random_mutation),
@@ -178,7 +175,6 @@ MachinaGUI::MachinaGUI(SPtr<machina::Engine> engine)
_main_window->present();
_step_record_checkbutton->show();
- _clock_checkbutton->set_active(true);
_quantize_checkbutton->set_active(false);
update_toolbar();
@@ -371,7 +367,6 @@ MachinaGUI::update_toolbar()
{
_record_button->set_active(_engine->driver()->recording());
_play_button->set_active(_engine->machine()->is_activated());
- _bpm_spinbutton->set_sensitive(_clock_checkbutton->get_active());
_quantize_spinbutton->set_sensitive(_quantize_checkbutton->get_active());
}