]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - src/com/hughes/android/dictionary/DictionaryManagerActivity.java
Fix jumping to row from clicking on a link in the HTMLView.
[Dictionary.git] / src / com / hughes / android / dictionary / DictionaryManagerActivity.java
index 5a0305015731bdfce8f90ac46b5a525188ceb481..9b6bf4a3078849cc3c952d7154b649ff2962b95c 100644 (file)
@@ -529,15 +529,10 @@ public class DictionaryManagerActivity extends SherlockListActivity {
         
         if (canLaunch) {
             row.setClickable(true);
-            row.setOnClickListener(new OnClickListener() {
-                @Override
-                public void onClick(View v) {
-                    new IntentLauncher(parent.getContext(), 
+            row.setOnClickListener(new IntentLauncher(parent.getContext(), 
                             DictionaryActivity.getLaunchIntent(
                                     application.getPath(dictionaryInfo.uncompressedFilename), 
-                                    dictionaryInfo.indexInfos.get(0).shortName, ""));
-                }
-            });
+                                    dictionaryInfo.indexInfos.get(0).shortName, "")));
             row.setFocusable(true);
             row.setLongClickable(true);
         }