helenginn / mabscape

abmapping
0 stars 0 forks source link

Program terminates when not selecting a file for "Read selected results" #11

Open funkefel opened 2 years ago

funkefel commented 2 years ago

If the file selection window, shown upon clicking "Read selected results", is closed with the cross, the program terminates with the message: Could not get file contents for file terminate called after throwing an instance of 'int'

funkefel commented 2 years ago

2feb185 Fixed program crash, by validating the filename before opening the file. Noe there is a qt error, that does not seem to hinder the programs function: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 7856, resource id: 8667250, major code: 40 (TranslateCoords), minor code: 0