diff --git a/src/frontends/qt4/TocWidget.cpp b/src/frontends/qt4/TocWidget.cpp index 4bb5345f27..8ed961b08a 100644 --- a/src/frontends/qt4/TocWidget.cpp +++ b/src/frontends/qt4/TocWidget.cpp @@ -152,7 +152,7 @@ bool TocWidget::getStatus(Cursor & cur, FuncRequest const & cmd, case LFUN_OUTLINE_IN: case LFUN_OUTLINE_OUT: case LFUN_SECTION_SELECT: - status.setEnabled(true); + status.setEnabled(item.dit() != 0); return true; case LFUN_LABEL_COPY_AS_REF: {