Crash after using F2 to insert ü

• Mar 16, 2018 - 08:23
Reported version
3.0
Type
Graphical (UI)
Severity
S2 - Critical
Status
closed
Project

When inserting the ü in Title the app crashes.
I edit an existing piece.
Change Title.
To inser ü , I use F2, double click on the ü
total crash.


Comments

Crash is here, ted is nullptr.

TextCursor* TextBase::cursor(EditData& ed)
      {
      TextEditData* ted = static_cast(ed.getData(this));
      return ted->cursor;
      }

Call stack is:

1 Ms::TextBase::cursor               text.cpp    2765 0x8a0690   
2 Ms::TextBase::drop                 text.cpp    2103 0x89d1e5   
3 Ms::applyDrop                      palette.cpp 420  0x4c99a2   
4 Ms::Palette::applyPaletteElement   palette.cpp 511  0x4ca0b3   
5 Ms::Palette::mouseDoubleClickEvent palette.cpp 742  0x4cb45e   
6 ZN7QWidget5eventEP6QEvent                           0x241b4ce9