From f794e6e0eed9e19d75491b4b34c44ecb206d2c3d Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Sat, 1 Mar 2014 11:15:15 -0500 Subject: [PATCH] Fix br -objects --- openbr/plugins/gui.cpp | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/openbr/plugins/gui.cpp b/openbr/plugins/gui.cpp index 0653eeb..ef50de3 100644 --- a/openbr/plugins/gui.cpp +++ b/openbr/plugins/gui.cpp @@ -719,6 +719,8 @@ public: dst = src; + if (!Globals->useGui) + return; if (src.empty()) return; @@ -771,6 +773,8 @@ public: RectMarkingWindow * trueWindow; void init() { + if (!Globals->useGui) + return; initActual(); trueWindow = dynamic_cast (this->window); trueWindow->setKeys(this->keys); -- libgit2 0.21.4