diff --git a/src/qhexedit.cpp b/src/qhexedit.cpp index 4137192..bfd9576 100644 --- a/src/qhexedit.cpp +++ b/src/qhexedit.cpp @@ -60,6 +60,9 @@ QHexEdit::QHexEdit(QWidget *parent) : QAbstractScrollArea(parent) QHexEdit::~QHexEdit() { + // prevent sending signal on undo stack clear + // when destruction in process + disconnect(_undoStack, NULL, this, NULL); } // ********************************************************************** Properties