--- gigedit/trunk/src/gigedit/mainwindow.cpp 2015/01/04 17:16:41 2688
+++ gigedit/trunk/src/gigedit/mainwindow.cpp 2015/01/04 17:19:19 2689
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2006-2014 Andreas Persson
+ * Copyright (C) 2006-2015 Andreas Persson
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -217,6 +217,14 @@
sigc::mem_fun(*this, &MainWindow::on_action_warn_user_on_extensions)
);
+ toggle_action =
+ Gtk::ToggleAction::create("SyncSamplerInstrumentSelection", _("Synchronize sampler's instrument selection"));
+ toggle_action->set_active(Settings::singleton()->syncSamplerInstrumentSelection);
+ actionGroup->add(
+ toggle_action,
+ sigc::mem_fun(*this, &MainWindow::on_action_sync_sampler_instrument_selection)
+ );
+
actionGroup->add(Gtk::Action::create("MenuTools", _("_Tools")));
@@ -336,6 +344,7 @@
" "
"
"
"