]> sigrok.org Git - pulseview.git/commitdiff
Fix an undesired side-effect of 3d6ff1cd
authorSoeren Apel <redacted>
Thu, 30 Jan 2020 08:08:18 +0000 (09:08 +0100)
committerSoeren Apel <redacted>
Thu, 30 Jan 2020 08:08:18 +0000 (09:08 +0100)
pv/mainwindow.cpp

index ceace369f982158b26668ed38d4e836655e84f2d..7d350625a4ddd3e9528dac8403ed75385b881420 100644 (file)
@@ -320,8 +320,6 @@ shared_ptr<subwindows::SubWindowBase> MainWindow::add_subwindow(
        if (w->minimum_width() > 0)
                dock->setMinimumSize(w->minimum_width(), 0);
 
-       w->setFocus();
-
        return w;
 }