Skip to content

Commit

Permalink
Re #4282. Small ajustment to window activation
Browse files Browse the repository at this point in the history
  • Loading branch information
mantid-roman committed Jan 5, 2012
1 parent cf90b6e commit 3569da5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/MantidPlot/src/ApplicationWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8392,7 +8392,6 @@ void ApplicationWindow::activateWindow(MdiSubWindow *w)
f->setActiveWindow(w);

blockWindowActivation = true;
//w->parentWidget()->setFocus();
FloatingWindow* fw = d_active_window->getFloatingWindow();
if (fw)
{
Expand All @@ -8401,6 +8400,7 @@ void ApplicationWindow::activateWindow(MdiSubWindow *w)
else
{
QMainWindow::activateWindow();
d_active_window->setFocus();
}
blockWindowActivation = false;

Expand Down

0 comments on commit 3569da5

Please sign in to comment.