Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove activateWindow() when EditDock is toggled
There's no need to set sqlitebrowser as active window when updating
the main application window. The `activateWindow()` call prevents
switching workspaces in GNOME and Cinnamon desktops.

Fixes #934
  • Loading branch information
kehugter committed Oct 11, 2017
1 parent f4c2788 commit c4c4cf6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/MainWindow.cpp
Expand Up @@ -863,7 +863,6 @@ void MainWindow::toggleEditDock(bool visible)
{
if (!visible) {
// Update main window
activateWindow();
ui->dataTable->setFocus();
} else {
// fill edit dock with actual data
Expand Down

0 comments on commit c4c4cf6

Please sign in to comment.