From d1151e609db90ff6713b74addd4980e02bf00191 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 7 Jan 2007 05:18:50 +0000 Subject: Fix crash when clicking currently active breadcrumb. git-svn-id: http://svn.drobilla.net/lad/ingen@236 a436a847-0d15-0410-975c-d299462d15a1 --- src/progs/ingenuity/BreadCrumbBox.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/progs/ingenuity/BreadCrumbBox.cpp') diff --git a/src/progs/ingenuity/BreadCrumbBox.cpp b/src/progs/ingenuity/BreadCrumbBox.cpp index eca8a761..f2835d18 100644 --- a/src/progs/ingenuity/BreadCrumbBox.cpp +++ b/src/progs/ingenuity/BreadCrumbBox.cpp @@ -160,8 +160,7 @@ BreadCrumbBox::breadcrumb_clicked(BreadCrumb* crumb) _enable_signal = false; if (!crumb->get_active()) { - assert(_active_path == crumb->path()); - // Tried to turn off the current active button, bad user! + // Tried to turn off the current active button, bad user, no cookie crumb->set_active(true); } else { signal_patch_selected.emit(crumb->path(), crumb->view()); -- cgit v1.2.1