[DEBUG #8] CLose the file after saving it when request close
This commit is contained in:
parent
05ac6a9210
commit
e29aa94cc5
@ -144,6 +144,8 @@ void appl::WorkerCloseFile::onCallbackSaveValidate() {
|
||||
tmpWindows->displayWarningMessage("We can not save the file : <br/><i>" + m_buffer->getFileName() + "</i>");
|
||||
signalAbort.emit();
|
||||
} else {
|
||||
m_buffer->destroy();
|
||||
m_buffer.reset();
|
||||
signalCloseDone.emit();
|
||||
}
|
||||
destroy();
|
||||
|
Loading…
x
Reference in New Issue
Block a user