mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
GuiTabular: disabling is now done on textChanged()
Before, it was done on editingFinished(). The new behavior is more intuitive because it is easier for the user to see how editing the box is connected with enabling/disabling the other widgets. Before, the user would not get instant feedback and would have to click away before the connection is revealed. This new behavior is less efficient, however, because checkEnabled() is called after every keystroke.
This commit is contained in:
parent
429b39bc0c
commit
ccd46cbe8e
@ -127,7 +127,7 @@ GuiTabular::GuiTabular(QWidget * parent)
|
||||
this, SLOT(checkEnabled()));
|
||||
connect(captionStatusCB, SIGNAL(clicked()),
|
||||
this, SLOT(checkEnabled()));
|
||||
connect(specialAlignmentED, SIGNAL(editingFinished()),
|
||||
connect(specialAlignmentED, SIGNAL(textEdited(const QString &)),
|
||||
this, SLOT(checkEnabled()));
|
||||
connect(columnWidthED, SIGNAL(textEdited(const QString &)),
|
||||
this, SLOT(checkEnabled()));
|
||||
|
Loading…
Reference in New Issue
Block a user