summaryrefslogtreecommitdiffstats
path: root/src/PatchageModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PatchageModule.cpp')
-rw-r--r--src/PatchageModule.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/PatchageModule.cpp b/src/PatchageModule.cpp
index 61728ec..c871036 100644
--- a/src/PatchageModule.cpp
+++ b/src/PatchageModule.cpp
@@ -54,7 +54,7 @@ PatchageModule::update_menu()
return;
}
- if (_type == ModuleType::InputOutput) {
+ if (_type == ModuleType::input_output) {
bool has_in = false;
bool has_out = false;
for (const_iterator p = begin(); p != end(); ++p) {
@@ -77,7 +77,7 @@ PatchageModule::show_menu(GdkEventButton* ev)
{
_menu = new Gtk::Menu();
Gtk::Menu::MenuList& items = _menu->items();
- if (_type == ModuleType::InputOutput) {
+ if (_type == ModuleType::input_output) {
items.push_back(Gtk::Menu_Helpers::MenuElem(
"_Split", sigc::mem_fun(this, &PatchageModule::split)));
update_menu();
@@ -124,7 +124,7 @@ PatchageModule::store_location(double x, double y)
void
PatchageModule::split()
{
- assert(_type == ModuleType::InputOutput);
+ assert(_type == ModuleType::input_output);
_app->conf()->set_module_split(_name, true);
_app->refresh();
}
@@ -132,7 +132,7 @@ PatchageModule::split()
void
PatchageModule::join()
{
- assert(_type != ModuleType::InputOutput);
+ assert(_type != ModuleType::input_output);
_app->conf()->set_module_split(_name, false);
_app->refresh();
}