From c9ccedb81018c20b039ca9b8dcc3e4c0f784beb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 13 Apr 2010 18:50:03 +0000 Subject: [PATCH] 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 --- kcmkwin/kwindesktop/desktopnameswidget.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kcmkwin/kwindesktop/desktopnameswidget.cpp b/kcmkwin/kwindesktop/desktopnameswidget.cpp index 004e651458..8cb0911a3a 100644 --- a/kcmkwin/kwindesktop/desktopnameswidget.cpp +++ b/kcmkwin/kwindesktop/desktopnameswidget.cpp @@ -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() )); } }