From 0b95895e13ee69b71772038557d58c6ad6038c1b Mon Sep 17 00:00:00 2001 From: octaeder <102688820+octaeder@users.noreply.github.com> Date: Fri, 3 Jan 2025 13:31:36 +0100 Subject: [PATCH] split lines into two --- src/texstudio.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/texstudio.cpp b/src/texstudio.cpp index e32044eb7..bad5d45af 100644 --- a/src/texstudio.cpp +++ b/src/texstudio.cpp @@ -1403,8 +1403,10 @@ void Texstudio::setupMenus() } } - newManagedAction(menu, "enlargePDF", tr("Show embedded PDF large"), SLOT(enlargeEmbeddedPDFViewer()))->setVisible(false); - newManagedAction(menu, "shrinkPDF", tr("Show embedded PDF small"), SLOT(shrinkEmbeddedPDFViewer()))->setVisible(false); + act=newManagedAction(menu, "enlargePDF", tr("Show embedded PDF large"), SLOT(enlargeEmbeddedPDFViewer())); + act->setVisible(false); + act=newManagedAction(menu, "shrinkPDF", tr("Show embedded PDF small"), SLOT(shrinkEmbeddedPDFViewer())); + act->setVisible(false); newManagedAction(menu, "closeelement", tr("Close Element"), SLOT(viewCloseElement()), Qt::Key_Escape); menu->addSeparator();