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

List:       kde-commits
Subject:    kdewebdev/quanta/parts/preview
From:       Andras Mantia <amantia () kde ! org>
Date:       2005-01-31 23:17:41
Message-ID: 20050131231741.B07221D1DF () office ! kde ! org
[Download RAW message or body]

CVS commit by amantia: 

Make the view source context menu usable with mouse even if the preview is in a toolview area.


  M +1 -1      whtmlpart.cpp   1.31


--- kdewebdev/quanta/parts/preview/whtmlpart.cpp  #1.30:1.31
@@ -160,5 +160,5 @@ KParts::ReadOnlyPart *WHTMLPart::createP
 bool WHTMLPart::eventFilter(QObject *watched, QEvent *e)
 {
-  if (watched == view() && e->type() == QEvent::FocusOut)
+  if (watched == view() && e->type() == QEvent::FocusOut && !m_contextMenu->hasFocus())
     emit previewHasFocus(false);
   else


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

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