summaryrefslogtreecommitdiffstats
path: root/src/progs/ingenuity/BreadCrumbBox.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-01-07 05:18:50 +0000
committerDavid Robillard <d@drobilla.net>2007-01-07 05:18:50 +0000
commitd1151e609db90ff6713b74addd4980e02bf00191 (patch)
treef6052c98c57d23e6e4d7cd67e14e1f77b80c324d /src/progs/ingenuity/BreadCrumbBox.cpp
parent0637b4eced87c74488a7783902d870b23e2d08fb (diff)
downloadingen-d1151e609db90ff6713b74addd4980e02bf00191.tar.gz
ingen-d1151e609db90ff6713b74addd4980e02bf00191.tar.bz2
ingen-d1151e609db90ff6713b74addd4980e02bf00191.zip
Fix crash when clicking currently active breadcrumb.
git-svn-id: http://svn.drobilla.net/lad/ingen@236 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/ingenuity/BreadCrumbBox.cpp')
-rw-r--r--src/progs/ingenuity/BreadCrumbBox.cpp3
1 files changed, 1 insertions, 2 deletions
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());