mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 22:17:41 +00:00
Amend 16d5c49b
Remove redundant action when toggling the dashes check box.
This commit is contained in:
parent
b6f8a84a35
commit
91ca310d1d
@ -840,8 +840,6 @@ GuiDocument::GuiDocument(GuiView & lv)
|
||||
this, SLOT(change_adaptor()));
|
||||
connect(fontModule->dashesCB, SIGNAL(clicked()),
|
||||
this, SLOT(change_adaptor()));
|
||||
connect(fontModule->dashesCB, SIGNAL(toggled(bool)),
|
||||
this, SLOT(dashesToggled(bool)));
|
||||
connect(fontModule->scaleSansSB, SIGNAL(valueChanged(int)),
|
||||
this, SLOT(change_adaptor()));
|
||||
connect(fontModule->scaleTypewriterSB, SIGNAL(valueChanged(int)),
|
||||
@ -1938,13 +1936,6 @@ void GuiDocument::fontScToggled(bool state)
|
||||
}
|
||||
|
||||
|
||||
void GuiDocument::dashesToggled(bool state)
|
||||
{
|
||||
if (!fontModule->osFontsCB->isChecked())
|
||||
fontModule->dashesCB->setChecked(state);
|
||||
}
|
||||
|
||||
|
||||
void GuiDocument::updateFontOptions()
|
||||
{
|
||||
bool const tex_fonts = !fontModule->osFontsCB->isChecked();
|
||||
|
@ -105,7 +105,6 @@ private Q_SLOTS:
|
||||
void ttChanged(int);
|
||||
void fontOsfToggled(bool state);
|
||||
void fontScToggled(bool state);
|
||||
void dashesToggled(bool state);
|
||||
void setIndent(int);
|
||||
void enableIndent(bool);
|
||||
void setSkip(int);
|
||||
|
Loading…
Reference in New Issue
Block a user