Update the tab-order when adding a new desktop in kcmdesktop.

Thanks to Jeffery MacEachern for the patch.

svn path=/trunk/KDE/kdebase/workspace/; revision=1114497
This commit is contained in:
Martin Gräßlin 2010-04-13 18:50:03 +00:00
parent 11aeee10d5
commit c9ccedb810

View file

@ -80,6 +80,10 @@ void DesktopNamesWidget::numberChanged( int number )
m_nameLabels << label;
setDefaultName( desktop +1 );
if( desktop > 1 )
{
setTabOrder( m_nameInputs[desktop - 1], m_nameInputs[desktop] );
}
connect( edit, SIGNAL(textChanged(const QString&)), SIGNAL( changed() ));
}
}