Skip to content

Commit

Permalink
Update file_manager.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Aug 27, 2020
1 parent 373e6f4 commit c657406
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/eez/modules/psu/gui/file_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1267,11 +1267,7 @@ void action_file_manager_new_file() {
using namespace gui::file_manager;

void onSdCardFileChangeHook(const char *filePath1, const char *filePath2) {
if (g_fileBrowserMode) {
return;
}

if (!isPageOnStack(PAGE_ID_FILE_MANAGER)) {
if (!isPageOnStack(PAGE_ID_FILE_MANAGER) && !isPageOnStack(PAGE_ID_FILE_BROWSER)) {
return;
}

Expand Down

0 comments on commit c657406

Please sign in to comment.