/android/import-contacts

To get this branch, use:
bzr branch http://bzr.ed.am/android/import-contacts

« back to all changes in this revision

Viewing changes to src/org/waxworlds/edam/importcontacts/FileChooser.java

  • Committer: edam
  • Date: 2010-12-14 13:41:21 UTC
  • Revision ID: edam@waxworlds.org-20101214134121-hz3v1pq2umlkompk
- fixed bug where parts[0] was assumed to exists after calling split()
- renamed "bits" to "parts" and check all usage of split()

Show diffs side-by-side

added added

removed removed

409
409
                // enable/disable ok button
410
410
                if( _mode == MODE_FILE )
411
411
                        _dialog.findViewById( R.id.ok ).setEnabled( _filename != "" );
 
412
                else
 
413
                        _dialog.findViewById( R.id.ok ).setEnabled( true );
412
414
        }
413
415
 
414
416
}