From 0fce32c98afa8e699034e282996d20cfda56185e Mon Sep 17 00:00:00 2001 From: rominetb44 <32679436+rominetb44@users.noreply.github.com> Date: Fri, 9 Dec 2022 14:18:11 +0100 Subject: [PATCH] Update draw.cpp Fix an issue with filename in messagebox. --- grbl_controller_esp32/draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grbl_controller_esp32/draw.cpp b/grbl_controller_esp32/draw.cpp index 1263e39..fd95950 100644 --- a/grbl_controller_esp32/draw.cpp +++ b/grbl_controller_esp32/draw.cpp @@ -1495,7 +1495,7 @@ void fConfirmYesNoBase() { // should display the name of the file to be printed if ( fileToExecuteIdx <=3 ){ //we are printing from Sd card on TFT pfileName = fileNames[fileToExecuteIdx] ; } else if ( fileToExecuteIdx >=10 && fileToExecuteIdx <=13 ) { - pfileName = grblFileNames[fileToExecuteIdx-10] ; + pfileName = grblFileNamesTft[fileToExecuteIdx-10] ; } else { pfileName = NULL ; }