]> 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 12:20:05 +0000 (14:20 +0200)
src/frontends/qt/GuiTabular.cpp

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)),