We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbe2fe3 commit 276a06aCopy full SHA for 276a06a
src/pathview/PathViewCore.qml
@@ -112,11 +112,9 @@ ApplicationItem {
112
}
113
114
function executePreview() {
115
- if (file.remoteFilePath.split('.').pop() === 'ngc') { // only open ngc files
116
- gcodeProgramModel.clearPreview();
117
- command.openProgram('preview', file.remoteFilePath);
118
- command.runProgram('preview', 0);
119
- }
+ gcodeProgramModel.clearPreview();
+ command.openProgram('preview', file.remoteFilePath);
+ command.runProgram('preview', 0);
120
121
122
0 commit comments