mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +00:00
Bug fix: the type combo was not cleared at each update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18265 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
bee94bbcd2
commit
7831aff546
@ -252,6 +252,7 @@ void TocWidget::updateGui()
|
|||||||
QString current_text = typeCO->currentText();
|
QString current_text = typeCO->currentText();
|
||||||
lyxerr << "current_text " << fromqstr(current_text) << endl;
|
lyxerr << "current_text " << fromqstr(current_text) << endl;
|
||||||
typeCO->blockSignals(true);
|
typeCO->blockSignals(true);
|
||||||
|
typeCO->clear();
|
||||||
int current_type = -1;
|
int current_type = -1;
|
||||||
for (size_t i = 0; i != type_names.size(); ++i) {
|
for (size_t i = 0; i != type_names.size(); ++i) {
|
||||||
QString item = toqstr(type_names[i]);
|
QString item = toqstr(type_names[i]);
|
||||||
|
Loading…
Reference in New Issue
Block a user