Skip to content

Commit

Permalink
FileBrowser: Fix file copy file (nullpointer in currentfolder), by @g…
Browse files Browse the repository at this point in the history
  • Loading branch information
gsantner committed May 19, 2024
1 parent 1ad8505 commit d69bb00
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,9 @@ public void onFsViewerDoUiUpdate(GsFileBrowserListAdapter adapter) {
if (_callback != null) {
_callback.onFsViewerDoUiUpdate(adapter);
}
_toolBar.setSubtitle(adapter.getCurrentFolder().getName());
if (adapter.getCurrentFolder() != null) {
_toolBar.setSubtitle(adapter.getCurrentFolder().getName());
}
}

@Override
Expand Down

0 comments on commit d69bb00

Please sign in to comment.