Backport 5767 bugfix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28410 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-02-09 11:41:31 +00:00
parent 8d4b75e979
commit 8be06af03e
2 changed files with 2 additions and 2 deletions

View File

@ -227,7 +227,6 @@ static bool canOutline(QString const & type)
void TocWidget::enableControls(bool enable)
{
updateTB->setEnabled(enable);
sortCB->setEnabled(enable);
if (!canOutline(current_type_))
enable = false;
@ -236,7 +235,6 @@ void TocWidget::enableControls(bool enable)
moveDownTB->setEnabled(enable);
moveInTB->setEnabled(enable);
moveOutTB->setEnabled(enable);
persistentCB->setEnabled(enable);
if (!enable) {
depthSL->setMaximum(0);
depthSL->setValue(0);

View File

@ -231,6 +231,8 @@ What's new
- Fix the navigation to large floats from within the outline pane
(bug 5573).
- Enable Keep and Sort buttons in ToC when in readonly mode (bug 5767).
* DOCUMENTATION AND LOCALIZATION