[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdegraphics/kolourpaint
From:       Kazuki Ohta <mover () hct ! zaq ! ne ! jp>
Date:       2005-01-30 16:51:23
Message-ID: 20050130165123.34BFC1160A () office ! kde ! org
[Download RAW message or body]

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)
         {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic