From 4a4fb45162d1db365a22e55cda74773ed2f3ceda Mon Sep 17 00:00:00 2001 From: octaeder <102688820+octaeder@users.noreply.github.com> Date: Mon, 10 Feb 2025 20:34:38 +0100 Subject: [PATCH] remove redundant code + changelog --- src/configmanager.cpp | 2 +- utilities/manual/source/CHANGELOG.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/configmanager.cpp b/src/configmanager.cpp index fdc66116b..2f5f4e79d 100644 --- a/src/configmanager.cpp +++ b/src/configmanager.cpp @@ -1473,7 +1473,7 @@ bool ConfigManager::execConfigDialog(QWidget *parentToDialog) #ifdef NO_POPPLER_PREVIEW int l = confDlg->ui.comboBoxDvi2PngMode->count(); for (int index=l-1; index>=0; index--) { - if (static_cast (index)>=BuildManager::DPM_EMBEDDED_PDF || index==0) + if (static_cast (index)>=BuildManager::DPM_EMBEDDED_PDF) confDlg->ui.comboBoxDvi2PngMode->removeItem(index); } #endif diff --git a/utilities/manual/source/CHANGELOG.md b/utilities/manual/source/CHANGELOG.md index cb714688f..6cf3c3d6b 100644 --- a/utilities/manual/source/CHANGELOG.md +++ b/utilities/manual/source/CHANGELOG.md @@ -2,7 +2,7 @@ ## TeXstudio 4.8.7 - add "Start Column" (sets column of first page, same as Shift+Click) to Grid menu of pdf-viewer's context menu [#3974](https://github.com/texstudio-org/texstudio/pull/3974) -- add preview with default compiler option +- add preview with default compiler option [#3978](https://github.com/texstudio-org/texstudio/pull/3978) ## TeXstudio 4.8.6