Skip to content

Commit c657406

Browse files
committed
Update file_manager.cpp
1 parent 373e6f4 commit c657406

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/eez/modules/psu/gui/file_manager.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1267,11 +1267,7 @@ void action_file_manager_new_file() {
12671267
using namespace gui::file_manager;
12681268

12691269
void onSdCardFileChangeHook(const char *filePath1, const char *filePath2) {
1270-
if (g_fileBrowserMode) {
1271-
return;
1272-
}
1273-
1274-
if (!isPageOnStack(PAGE_ID_FILE_MANAGER)) {
1270+
if (!isPageOnStack(PAGE_ID_FILE_MANAGER) && !isPageOnStack(PAGE_ID_FILE_BROWSER)) {
12751271
return;
12761272
}
12771273

0 commit comments

Comments
 (0)