author | tille <tille> | 2002-11-11 07:47:49 (UTC) |
---|---|---|
committer | tille <tille> | 2002-11-11 07:47:49 (UTC) |
commit | 204050f404a3cef4ff4f6920d24b16e03d8d6c5e (patch) (unidiff) | |
tree | af46d63dde093a0fb834059e09df3f25d03e7970 | |
parent | cbafca79e0a7993f55c085ead8aaa30604cc646b (diff) | |
download | opie-204050f404a3cef4ff4f6920d24b16e03d8d6c5e.zip opie-204050f404a3cef4ff4f6920d24b16e03d8d6c5e.tar.gz opie-204050f404a3cef4ff4f6920d24b16e03d8d6c5e.tar.bz2 |
bug fix
-rw-r--r-- | noncore/unsupported/oipkg/packagelistitem.cpp | 4 |
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 | |||
@@ -221,19 +221,19 @@ QPopupMenu* PackageListItem::getPopupMenu() | |||
221 | } | 221 | } |
222 | return popupMenu; | 222 | return popupMenu; |
223 | } | 223 | } |
224 | 224 | ||
225 | void PackageListItem::menuAction( int i ) | 225 | void PackageListItem::menuAction( int i ) |
226 | { | 226 | { |
227 | if (package->installed()){ | 227 | if (!package->installed()){ |
228 | package->setDest( destsMenu->text(i) ); | 228 | package->setDest( destsMenu->text(i) ); |
229 | package->setLink( settings->createLinks() ); | 229 | package->setLink( settings->createLinks() ); |
230 | } | 230 | } |
231 | package->setOn(); | 231 | package->setOn(); |
232 | displayDetails(); | 232 | displayDetails(); |
233 | } | 233 | } |
234 | 234 | ||
235 | //void PackageListItem::toggleProcess() | 235 | //void PackageListItem::toggleProcess() |
236 | //{ | 236 | //{ |
237 | // package->toggleProcess() ; | 237 | // package->toggleProcess() ; |
238 | // displayDetails(); | 238 | // displayDetails(); |
239 | //} \ No newline at end of file | 239 | //} |