CVS commit by kzk: fix my last committing miss. M +8 -0 kpviewmanager.cpp 1.19 --- kdegraphics/kolourpaint/kpviewmanager.cpp #1.18:1.19 @@ -343,4 +343,12 @@ void kpViewManager::setTextCursorPositio if (isUpdateMicroFocusHint) { + kpDocument *doc = m_mainWindow->document (); + if (!doc) + return; + + kpSelection *sel = doc->selection (); + if (!sel || !sel->isText ()) + return; + if (m_viewUnderCursor) {