From efc9d0e382d34aba56c1bd561022a718714166bd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 1 Aug 2020 23:33:21 +0200 Subject: Add missing braces --- src/gui/BreadCrumbs.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/BreadCrumbs.hpp') diff --git a/src/gui/BreadCrumbs.hpp b/src/gui/BreadCrumbs.hpp index f359b971..803a72f4 100644 --- a/src/gui/BreadCrumbs.hpp +++ b/src/gui/BreadCrumbs.hpp @@ -92,8 +92,9 @@ private: lab->show(); add(*lab); - if (_view && _view->graph()->path() != path) + if (_view && _view->graph()->path() != path) { _view.reset(); + } } private: -- cgit v1.2.1