Commit 541ba850 authored by Geoffrey Métais's avatar Geoffrey Métais

Check directories in preferences with right arrow

parent 573fc5f7
......@@ -49,6 +49,7 @@ import android.view.KeyEvent;
import android.view.MenuItem;
import android.view.View;
import android.widget.AdapterView.AdapterContextMenuInfo;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.ListView;
import android.widget.Toast;
......@@ -249,6 +250,11 @@ public class BrowserActivity extends ListActivity {
return true;
} else if (keyCode == KeyEvent.KEYCODE_DPAD_RIGHT){
CheckBox cb = (CheckBox) getListView().getSelectedView().findViewById(;
if (cb != null)
return true;
return super.onKeyDown(keyCode, event);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment