Fix the crash when more then one document is open in gcodeeditor
ClosedPublic

Authored by rizzitello on May 3 2018, 9:57 PM.

Details

Summary

This avoids the crash when more then one file is opened in the gcode editor by disconnecting the signal on close events.

Diff Detail

Repository
R231 Atelier
Branch
noCrash
Lint
No Linters Available
Unit
No Unit Test Coverage
rizzitello requested review of this revision.May 3 2018, 9:57 PM
rizzitello created this revision.
rizzitello updated this revision to Diff 33587.May 3 2018, 9:59 PM

remove debug call

laysrodrigues added inline comments.May 6 2018, 7:55 PM
src/mainwindow.cpp
186–187

I'm thinking of adding this to the constructor initialization list and the connect on the constructor. but idk...

  • move gcodewidget to accessable object and make a functionfor the commit
laysrodrigues accepted this revision.May 17 2018, 12:10 PM
This revision is now accepted and ready to land.May 17 2018, 12:10 PM
rizzitello closed this revision.May 17 2018, 1:49 PM