From: Soeren Apel Date: Thu, 30 Jan 2020 08:08:18 +0000 (+0100) Subject: Fix an undesired side-effect of 3d6ff1cd X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=273798599b8be55a7ed9bbc99077b3478a094aec;p=pulseview.git Fix an undesired side-effect of 3d6ff1cd --- diff --git a/pv/mainwindow.cpp b/pv/mainwindow.cpp index ceace369..7d350625 100644 --- a/pv/mainwindow.cpp +++ b/pv/mainwindow.cpp @@ -320,8 +320,6 @@ shared_ptr MainWindow::add_subwindow( if (w->minimum_width() > 0) dock->setMinimumSize(w->minimum_width(), 0); - w->setFocus(); - return w; }