summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorIain Billett <Iain@Iains-MacBook-Pro.local>2012-06-15 21:59:09 +0100
committerIain Billett <Iain@Iains-MacBook-Pro.local>2012-06-15 21:59:50 +0100
commit889ff81df60fd13a4e121536e86d84147fc29b02 (patch)
treef914e82ec523ff1e18a9e133b1e6e6a9d9e7b538 /android
parentd848fac2d7232a0055fc236d8522f705a4c7e069 (diff)
Fixed folder navigation in list view.
Diffstat (limited to 'android')
-rw-r--r--android/experimental/GSoC-2012-eclipse-workspace/LibreOfficeUI/src/org/libreoffice/ui/LibreOfficeUIActivity.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/android/experimental/GSoC-2012-eclipse-workspace/LibreOfficeUI/src/org/libreoffice/ui/LibreOfficeUIActivity.java b/android/experimental/GSoC-2012-eclipse-workspace/LibreOfficeUI/src/org/libreoffice/ui/LibreOfficeUIActivity.java
index 5548589637af..7b178f107f35 100644
--- a/android/experimental/GSoC-2012-eclipse-workspace/LibreOfficeUI/src/org/libreoffice/ui/LibreOfficeUIActivity.java
+++ b/android/experimental/GSoC-2012-eclipse-workspace/LibreOfficeUI/src/org/libreoffice/ui/LibreOfficeUIActivity.java
@@ -342,8 +342,11 @@ public class LibreOfficeUIActivity extends Activity implements OnNavigationListe
public void onClick(View v) {
Log.d("LIST", "click!");
-
- open( filePaths[ pos ].getName() );
+ if(filePaths[ pos ].isDirectory() ){
+ openDirectory( filePaths[ pos ] );
+ }else{
+ open( filePaths[ pos ].getName() );
+ }
}
});