Skip to content

Commit

Permalink
Fix #1303
Browse files Browse the repository at this point in the history
  • Loading branch information
dkocher committed Jan 21, 2008
1 parent e4b1094 commit 3846410
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/ch/cyberduck/ui/cocoa/CDBrowserController.java
Expand Up @@ -667,7 +667,10 @@ private Path pathAtRow(int row) {
Path item = null;
switch(this.browserSwitchView.selectedSegment()) {
case LIST_VIEW: {
item = (Path) this.browserListModel.childs(this.workdir()).get(row);
final AttributedList childs = this.browserListModel.childs(this.workdir());
if(row < childs.size()) {
item = (Path) childs.get(row);
}
break;
}
case OUTLINE_VIEW: {
Expand Down

0 comments on commit 3846410

Please sign in to comment.