Skip to content

Commit

Permalink
Moved view before rename
Browse files Browse the repository at this point in the history
  • Loading branch information
markusC64 authored and markusC64 committed Oct 23, 2016
1 parent dec3035 commit cef8b8f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions software/userinterface/user_file_interaction.cc
Expand Up @@ -25,15 +25,15 @@ int UserFileInteraction :: fetch_context_items(BrowsableDirEntry *br, IndexedLis
list.append(new Action("Enter", UserFileInteraction :: S_enter, 0));
count++;
}
if((info->size <= 262144)&&(!(info->attrib & AM_DIR))) {
list.append(new Action("View", UserFileInteraction :: S_view, 0));
count++;
}
if(info->is_writable()) {
list.append(new Action("Rename", UserFileInteraction :: S_rename, 0));
list.append(new Action("Delete", UserFileInteraction :: S_delete, 0));
count+=2;
}
if((info->size <= 262144)&&(!(info->attrib & AM_DIR))) {
list.append(new Action("View", UserFileInteraction :: S_view, 0));
count++;
}
return count;
}

Expand Down

0 comments on commit cef8b8f

Please sign in to comment.