diff --git a/src/preferences/fonts/MainWindow.cpp b/src/preferences/fonts/MainWindow.cpp index cd4032b8ef..03191a3955 100644 --- a/src/preferences/fonts/MainWindow.cpp +++ b/src/preferences/fonts/MainWindow.cpp @@ -92,7 +92,9 @@ MainWindow::MainWindow() // make sure window is on screen BScreen screen(this); if (Frame().left > screen.Frame().right - 10 - || Frame().top > screen.Frame().bottom - 10) + || Frame().top > screen.Frame().bottom - 10 + || Frame().right < screen.Frame().left + 10 + || Frame().bottom < screen.Frame().top + 10) _Center(); }