From 1ca37257fba06f6fb96864380308868c19e435b8 Mon Sep 17 00:00:00 2001 From: John Harwell Date: Tue, 29 Oct 2019 08:56:00 -0500 Subject: [PATCH] Minor fix on Develop Menu that incorrectly displayed a missing WebKit error message. --- src/GuiQt/BrainBrowserWindow.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/GuiQt/BrainBrowserWindow.cxx b/src/GuiQt/BrainBrowserWindow.cxx index 7d457a1ec..2544151a8 100644 --- a/src/GuiQt/BrainBrowserWindow.cxx +++ b/src/GuiQt/BrainBrowserWindow.cxx @@ -1795,8 +1795,10 @@ BrainBrowserWindow::developerMenuFlagTriggered(QAction* action) EventManager::get()->sendEvent(EventUserInterfaceUpdate().getPointer()); EventManager::get()->sendEvent(EventGraphicsUpdateAllWindows().getPointer()); #else - WuQMessageBox::informationOk(this, - "Software was built without Qt WebKit, see src/CMakeLists.txt"); + if (enumValue == DeveloperFlagsEnum::DEVELOPER_FLAG_BALSA) { + WuQMessageBox::informationOk(this, + "Software was built without Qt WebKit, BALSA test not available, see src/CMakeLists.txt"); + } #endif } else {