Skip to content
Commit e0583cfb authored by Andreas Pakulat's avatar Andreas Pakulat
Browse files

Revert lazy initialization of the Text Editor

This essentially reverts 8c22f2ff but without
reverting most of the actual code changes since in the meantime other changes
depend on the adjusted API. Instead the initialization call is just done
synchronously from the constructor instead of through the QMetaObject API.

This fixes the problem of context menus not being shown in the editor most
of the time after opening a file that happened since the above mentioned
commit. Neither keyboard nor mouse clicks where triggering a context menu,
only after switching to another tab and back did things work correctly. Its
unclear to me why that happens, but I'd rather have a bit slower area
switching than non-working context menus.

CCBUG: 291052
parent e44648e7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment