]> git.lyx.org Git - lyx.git/commitdiff
GuiTabular: add missing connections
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 14 Jul 2024 12:20:05 +0000 (14:20 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 14 Jul 2024 17:09:21 +0000 (19:09 +0200)
(cherry picked from commit 2bf3124f25bd7f71ad37adcf710b66dfb52192ff)

src/frontends/qt/GuiTabular.cpp
status.24x

index 84012beb8ebb5b8b7eccacb3bc8cce824a0487da..21772ebc6f834bc96907cf62aef2889bf1dfaa83 100644 (file)
@@ -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)),
index 89e45f79ff30c8f79db17ff5fe48dc2246d83524..538c881b43ded8314929b131b61507906cd10b8a 100644 (file)
@@ -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