mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
We were doing this twice, and I think there's also a bug here, namely,
that we weren't re-enabling if we returned early. Someone tell me if this is wrong. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33585 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
805231ccbe
commit
3906792378
@ -321,7 +321,6 @@ void TocWidget::on_typeCO_currentIndexChanged(int index)
|
||||
|
||||
void TocWidget::outline(FuncCode func_code)
|
||||
{
|
||||
enableControls(false);
|
||||
QModelIndexList const & list = tocTV->selectionModel()->selectedIndexes();
|
||||
if (list.isEmpty())
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user