mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 06:19:36 +00:00
Don't insert symbols in the edit box if the control is disabled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22839 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0d7c79db6d
commit
8fd83ab2dc
@ -226,7 +226,8 @@ void GuiSymbols::on_symbolsLW_itemClicked(QListWidgetItem * item)
|
||||
QString const text = item->text();
|
||||
if (text.isEmpty())
|
||||
return;
|
||||
chosenLE->insert(text);
|
||||
if (chosenLE->isEnabled())
|
||||
chosenLE->insert(text);
|
||||
QString const category = getBlock(text.data()->unicode());
|
||||
categoryCO->setCurrentIndex(categoryCO->findText(category));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user