summaryrefslogtreecommitdiffstats
path: root/src/progs
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/ingenuity/BreadCrumb.h2
-rw-r--r--src/progs/ingenuity/BreadCrumbBox.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/progs/ingenuity/BreadCrumb.h b/src/progs/ingenuity/BreadCrumb.h
index a8242672..dca10788 100644
--- a/src/progs/ingenuity/BreadCrumb.h
+++ b/src/progs/ingenuity/BreadCrumb.h
@@ -69,7 +69,7 @@ public:
}
private:
- Path _path;
+ Path _path;
SharedPtr<PatchView> _view;
};
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());