diff options
author | Robin Gareus <robin@gareus.org> | 2013-11-22 18:22:55 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-11-22 18:22:55 +0100 |
commit | 5cbd4ce759474944ef138a47d3a889ac9902ae03 (patch) | |
tree | 1ba884ca67b1bdb206e841150131ca8a81b18efc /gtk2_ardour | |
parent | 9a50b569309212925b3f08d9ac0a148f828b1389 (diff) |
fix crash @ session-restore of plugins windows
The question is: why is _owner not set [yet], when the
window is restored. This rather smells like a race condition.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/processor_box.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index a22e991752..b549fd15ac 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -2598,7 +2598,7 @@ ProcessorBox::generate_processor_title (boost::shared_ptr<PluginInsert> pi) if (owner) { return string_compose(_("%1: %2 (by %3)"), owner->name(), pi->name(), maker); } else { - return string_compose(_("%2 (by %3)"), pi->name(), maker); + return string_compose(_("%1 (by %2)"), pi->name(), maker); } } |