mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
use validator rather than inputMask for line edit validation
inputMask gives an odd cursor, see #7204
This commit is contained in:
parent
4fca62a37c
commit
13df8f9a21
@ -2423,7 +2423,7 @@ PrefLanguage::PrefLanguage(GuiPreferences * form)
|
||||
startCommandED->setValidator(new NoNewLineValidator(startCommandED));
|
||||
endCommandED->setValidator(new NoNewLineValidator(endCommandED));
|
||||
|
||||
defaultDecimalSepED->setInputMask("X; ");
|
||||
defaultDecimalSepED->setValidator(new QRegExpValidator(QRegExp("\\S"), this));
|
||||
defaultDecimalSepED->setMaxLength(1);
|
||||
|
||||
defaultLengthUnitCO->addItem(lyx::qt_(unit_name_gui[Length::CM]), Length::CM);
|
||||
|
Loading…
Reference in New Issue
Block a user