summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-05-30 13:30:28 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-05-30 13:30:28 +0000
commit3f1584bd49a91d705273e74b98d82835821cd5d4 (patch)
tree17a5f99740c91cf414ff59d10d8e04a7bedb1d8f /gtk2_ardour
parent3fe1dbb882152a2b86c8550be569d88b1b84a91b (diff)
debugging output for region list crash, part 2
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@1927 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/editor_region_list.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_region_list.cc b/gtk2_ardour/editor_region_list.cc
index 7ce4ad1488..681c363c37 100644
--- a/gtk2_ardour/editor_region_list.cc
+++ b/gtk2_ardour/editor_region_list.cc
@@ -103,7 +103,7 @@ Editor::add_audio_region_to_region_display (boost::shared_ptr<AudioRegion> regio
cerr << "Region " << region->name() << " is hidden\n";
- if (iter == region_list_model->children().end()) {
+ if (!iter) {
cerr << "no parent node for hidden regions yet, add one\n";