> // Asynchronously post the event. DropEvent usually come > // from the BufferView. But reloading a file might close > // the BufferView from within its own event handler. >- guiApp->dispatchDelayed(cmd); >+ guiApp->addtoFuncRequestQueue(cmd); > event->accept();
One remark: I refactored the buffer reloading, so I don't think it is still true that a BufferView can close itself now on reloading. Vincent