[LyX/2.4.x] GuiTabular: add missing connections

Juergen Spitzmueller spitz at lyx.org
Sun Jul 14 17:09:46 UTC 2024


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

    GuiTabular: add missing connections
    
    (cherry picked from commit 2bf3124f25bd7f71ad37adcf710b66dfb52192ff)
---
 src/frontends/qt/GuiTabular.cpp | 6 ++++++
 status.24x                      | 3 +++
 2 files changed, 9 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)),
diff --git a/status.24x b/status.24x
index 89e45f79ff..538c881b43 100644
--- a/status.24x
+++ b/status.24x
@@ -56,6 +56,9 @@ What's new
 
 - Fix performance problems with references with (very) many authors.
 
+- Enable OK/Apply button in tabular dialog when "Additional Space" combo has
+  been set to different value.
+
 
 * INTERNALS
 


More information about the lyx-cvs mailing list