(model)
| 19045 | e.stopPropagation(); // Prevent triggering file item click |
| 19046 | |
| 19047 | // Get current model state to ensure we have the latest printed status |
| 19048 | const currentModel = await window.electron.getModel(model.filePath); |
| 19049 | if (currentModel) { |
| 19050 | const newPrintedStatus = !currentModel.printed; |
| 19051 | await autoSaveModel('printed', newPrintedStatus, model.filePath); |
| 19052 | } |
| 19053 | }); |
| 19054 | |
| 19055 | item.appendChild(printStatus); |
| 19056 |
nothing calls this directly
no test coverage detected