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
This commit is contained in:
kehugter
2017-10-11 22:54:06 +02:00
parent f4c27888f1
commit c4c4cf62a2

View File

@@ -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