Bug 95937

Summary: Closing Find Article dialog via kicker does not update articles view
Product: knode Reporter: Davide Ferrari <vide80>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Davide Ferrari 2004-12-28 19:21:36 UTC
Version:            (using KDE KDE 3.3.2)
Installed from:    Gentoo Packages

As subject, if I close the find article dialog (bringed up with F4) via kicker (RMB click, close this window), the article list is not updated and you have to reopen the dialog and close it using the close button in it.
Comment 1 Volker Krause 2004-12-29 19:33:01 UTC
CVS commit by vkrause: 

Fix #95937 (search filter not reset after closing search dialog).

BUG: 95937


  M +5 -0      knsearchdialog.cpp   1.20
  M +2 -0      knsearchdialog.h   1.10


--- kdepim/knode/knsearchdialog.cpp  #1.19:1.20
@@ -112,4 +112,9 @@ void KNSearchDialog::slotCloseClicked()
 
 
+void KNSearchDialog::closeEvent( QCloseEvent * )
+{
+  emit dialogDone();
+}
+
 //--------------------------------
 

--- kdepim/knode/knsearchdialog.h  #1.9:1.10
@@ -38,4 +38,6 @@ class KNSearchDialog : public QDialog {
 
   protected:
+    void closeEvent( QCloseEvent* e );
+
     KNFilterConfigWidget *fcw;
     QPushButton *startBtn, *newBtn,  *closeBtn;