From 414ab4748c14736c9b38ac1958004c4c5afbf185 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Sun, 10 Jul 2022 17:59:04 +0600 Subject: [PATCH] Update qt_mainwindow.cpp --- src/qt/qt_mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qt/qt_mainwindow.cpp b/src/qt/qt_mainwindow.cpp index 711dc6ca0..3ded7b77b 100644 --- a/src/qt/qt_mainwindow.cpp +++ b/src/qt/qt_mainwindow.cpp @@ -344,6 +344,7 @@ MainWindow::MainWindow(QWidget *parent) : break; } ui->stackedWidget->switchRenderer(newVidApi); + if (!show_second_monitors) return; for (int i = 1; i < MONITORS_NUM; i++) { if (renderers[i]) renderers[i]->switchRenderer(newVidApi); }