From e1016ad902edef66bd587c9899d7c3b010f82c18 Mon Sep 17 00:00:00 2001 From: Andrzej Kapolka Date: Tue, 14 May 2013 14:40:18 -0700 Subject: [PATCH] What matters is the active state, not the focus. --- interface/src/Application.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 0f50d67a69..4816d96c87 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -1056,7 +1056,9 @@ void Application::chooseVoxelPaintColor() { _voxelPaintColor->setData(selected); _voxelPaintColor->setIcon(createSwatchIcon(selected)); } - _glWidget->setFocus(); + + // restore the main window's active state + _window->activateWindow(); } void Application::initMenu() {