Author: tgoettlicher Date: Thu Oct 25 12:41:53 2007 New Revision: 7633 URL: http://svn.opensuse.org/viewcvs/zypp?rev=7633&view=rev Log: fixed keyboard usage problem with selection list (#336546) Modified: trunk/updater-kde/updater/MainWindow.cpp Modified: trunk/updater-kde/updater/MainWindow.cpp URL: http://svn.opensuse.org/viewcvs/zypp/trunk/updater-kde/updater/MainWindow.cpp?rev=7633&r1=7632&r2=7633&view=diff ============================================================================== --- trunk/updater-kde/updater/MainWindow.cpp (original) +++ trunk/updater-kde/updater/MainWindow.cpp Thu Oct 25 12:41:53 2007 @@ -125,6 +125,7 @@ patchLabel = new QLabel(patchWidget); patchLabel->setText(i18n("The following official patches for openSUSE either fix security holes or errors in the software.")); patchList = new QListView(patchWidget); + patchList->setSelectionMode ( QListView::NoSelection ); patchList->addColumn(i18n("Name")); patchList->setColumnWidthMode(COLUMN_NAME, QListView::Maximum); patchList->addColumn(i18n("Summary")); @@ -163,6 +164,7 @@ packageLabel->setText(i18n("The following list contains new versions for software packages installed on your system.<br>" "These updates are provided by the openSUSE community.")); packageList = new QListView(packageWidget); + packageList->setSelectionMode ( QListView::NoSelection ); packageList->addColumn(i18n("Name")); packageList->setColumnWidthMode(COLUMN_NAME, QListView::Maximum); packageList->addColumn(i18n("Summary")); @@ -293,21 +295,17 @@ { patchSelectAllButton->hide(); patchClearSelectionButton->hide(); - patchList->setSelectionMode ( QListView::NoSelection ); packageSelectAllButton->hide(); packageClearSelectionButton->hide(); - packageList->setSelectionMode ( QListView::NoSelection ); } else { patchSelectAllButton->show(); patchClearSelectionButton->show(); - patchList->setSelectionMode ( QListView::Single ); packageSelectAllButton->show(); packageClearSelectionButton->show(); - packageList->setSelectionMode ( QListView::Single ); } updateTabs(); -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org