What matters is the active state, not the focus.

This commit is contained in:
Andrzej Kapolka 2013-05-14 14:40:18 -07:00
parent b4ca7ca5e3
commit e1016ad902

View file

@ -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() {