mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
branch: Fix bug #6431: Crash when closing a workarea with a pending completion popup.
The GuiCompleter? has to have a parent, otherwise it is not destroyed when a GuiWorkArea? is destroyed. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33280 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3057d99d79
commit
aa7903de80
@ -239,7 +239,7 @@ GuiWorkArea::GuiWorkArea(Buffer & buffer, GuiView & lv)
|
||||
: buffer_view_(new BufferView(buffer)), lyx_view_(&lv),
|
||||
cursor_visible_(false),
|
||||
need_resize_(false), schedule_redraw_(false),
|
||||
preedit_lines_(1), completer_(new GuiCompleter(this)),
|
||||
preedit_lines_(1), completer_(new GuiCompleter(this, this)),
|
||||
context_target_pos_()
|
||||
{
|
||||
buffer.workAreaManager().add(this);
|
||||
|
@ -115,9 +115,12 @@ What's new
|
||||
|
||||
* USER INTERFACE
|
||||
|
||||
- Fix crash when performing word-replace while the cursor has a selection
|
||||
- Fix a crash when performing word-replace while the cursor has a selection
|
||||
in mathed (bug 6437).
|
||||
|
||||
- Fix a crash when closing a document with a pending autocompletion popup
|
||||
(bug 6431).
|
||||
|
||||
- While in ERT, disable non-functional sub- and superscript functions that
|
||||
crashed LyX (bug 6459).
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user