summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/packagelistitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/unsupported/oipkg/packagelistitem.cpp b/noncore/unsupported/oipkg/packagelistitem.cpp
index 4380393..51d024b 100644
--- a/noncore/unsupported/oipkg/packagelistitem.cpp
+++ b/noncore/unsupported/oipkg/packagelistitem.cpp
@@ -223,9 +223,9 @@ QPopupMenu* PackageListItem::getPopupMenu()
}
void PackageListItem::menuAction( int i )
{
- if (package->installed()){
+ if (!package->installed()){
package->setDest( destsMenu->text(i) );
package->setLink( settings->createLinks() );
}
package->setOn();
@@ -235,5 +235,5 @@ void PackageListItem::menuAction( int i )
//void PackageListItem::toggleProcess()
//{
// package->toggleProcess() ;
// displayDetails();
-//} \ No newline at end of file
+//}