diff --git a/VECTO/GUI/MainForm.vb b/VECTO/GUI/MainForm.vb index 787f90631e4db32a96dccc1d92a1b9bcb76a1bed..47f43c18a93b0b0028ac565f27628ddbee180940 100644 --- a/VECTO/GUI/MainForm.vb +++ b/VECTO/GUI/MainForm.vb @@ -581,6 +581,10 @@ Imports VectoAuxiliaries f = LvGEN.SelectedItems(0).SubItems(0).Text f = FileRepl(f) + If Path.GetExtension(f) <> VectoCore.Configuration.Constants.FileExtensions.VectoJobFile Then + MsgBox("Job File " + f + " can not be opened in Job Editor. Try importing the file.") + Exit Sub + End If If Not File.Exists(f) Then MsgBox(f & " not found!") Else