[LyX/master] GuiTabular: add missing connections

Juergen Spitzmueller spitz at lyx.org
Sun Jul 14 12:20:34 UTC 2024


commit 2bf3124f25bd7f71ad37adcf710b66dfb52192ff
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Sun Jul 14 14:20:05 2024 +0200

    GuiTabular: add missing connections
---
 src/frontends/qt/GuiTabular.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/frontends/qt/GuiTabular.cpp b/src/frontends/qt/GuiTabular.cpp
index 84012beb8e..21772ebc6f 100644
--- a/src/frontends/qt/GuiTabular.cpp
+++ b/src/frontends/qt/GuiTabular.cpp
@@ -67,6 +67,12 @@ GuiTabular::GuiTabular(QWidget * parent)
 	bottomspaceUnitLC->setCurrentItem(Length::defaultUnit());
 	interlinespaceUnitLC->setCurrentItem(Length::defaultUnit());
 
+	connect(topspaceCO, SIGNAL(currentIndexChanged(int)),
+		this, SLOT(checkEnabled()));
+	connect(bottomspaceCO, SIGNAL(currentIndexChanged(int)),
+		this, SLOT(checkEnabled()));
+	connect(interlinespaceCO, SIGNAL(currentIndexChanged(int)),
+		this, SLOT(checkEnabled()));
 	connect(topspaceED, SIGNAL(textEdited(const QString &)),
 		this, SLOT(checkEnabled()));
 	connect(topspaceUnitLC, SIGNAL(selectionChanged(lyx::Length::UNIT)),


More information about the lyx-cvs mailing list