send-to-desktop works again

svn path=/trunk/kdebase/kwin/; revision=57321
This commit is contained in:
Matthias Ettrich 2000-07-16 15:02:36 +00:00
parent 99a1f85bd3
commit dea089ee3b

View file

@ -2114,7 +2114,7 @@ void Workspace::desktopPopupAboutToShow()
desk_popup->insertSeparator( -1 );
int id;
for ( int i = 1; i <= numberOfDesktops(); i++ ) {
id = desk_popup->insertItem( QString("&%1 %2").arg(i).arg( desktopName(i) ) );
id = desk_popup->insertItem( QString("&%1 %2").arg(i).arg( desktopName(i) ), i );
if ( popup_client && !popup_client->isSticky() && popup_client->desktop() == i )
desk_popup->setItemChecked( id, TRUE );
}