summaryrefslogtreecommitdiffstats
path: root/src/gui/Configuration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/Configuration.cpp')
-rw-r--r--src/gui/Configuration.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/Configuration.cpp b/src/gui/Configuration.cpp
index c7a5b19c..58a2abc5 100644
--- a/src/gui/Configuration.cpp
+++ b/src/gui/Configuration.cpp
@@ -41,7 +41,7 @@ Configuration::Configuration()
, _control_port_color(0x4A8A0EC0)
, _event_port_color( 0x960909C0)
// , _osc_port_color( 0x5C3566C0)
- , _string_port_color( 0x00000000)
+ , _object_port_color( 0x5C3566C0)
{
}
@@ -90,12 +90,12 @@ Configuration::get_port_color(const PortModel* p)
return _control_port_color;
} else if (p->type().is_audio()) {
return _audio_port_color;
- } else if (p->type().is_event()) {
+ } else if (p->type().is_events()) {
return _event_port_color;
/*} else if (p->type().is_osc()) {
return _osc_port_color;
- */} else if (p->type().is_string()) {
- return _string_port_color;
+ */} else if (p->type().is_object()) {
+ return _object_port_color;
}
cerr << "[Configuration] Unknown port type " << p->type().uri()