summaryrefslogtreecommitdiffstats
path: root/src/gui/BreadCrumbs.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-01 23:33:21 +0200
committerDavid Robillard <d@drobilla.net>2020-08-02 01:48:48 +0200
commitefc9d0e382d34aba56c1bd561022a718714166bd (patch)
treefdf9286d7ba9338cfedceb599357f29877bfc484 /src/gui/BreadCrumbs.hpp
parentf3df1f1301f0c013e9edef8734ad63cbf330dbbd (diff)
downloadingen-efc9d0e382d34aba56c1bd561022a718714166bd.tar.gz
ingen-efc9d0e382d34aba56c1bd561022a718714166bd.tar.bz2
ingen-efc9d0e382d34aba56c1bd561022a718714166bd.zip
Add missing braces
Diffstat (limited to 'src/gui/BreadCrumbs.hpp')
-rw-r--r--src/gui/BreadCrumbs.hpp3
1 files changed, 2 insertions, 1 deletions
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: