Bug 140472

Summary: Problem with updates in the data manager
Product: [Applications] kst Reporter: Andrew Walker <arwalker>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andrew Walker 2007-01-23 02:11:20 UTC
Version:           HEAD (using KDE KDE 3.5.1)
OS:                Linux

PROBLEM:
The data manager does not update correctly when text has been updated in the search field

STEPS TO REPRODUCE:
Start Kst
Open the Data Manager
Enter INDEX into the search field
Start the Data Wizard
Select gyrodata.dat and plot all fields versus INDEX

RESULTS:
No entries are added to the data manager

EXPECTED RESULTS:
The INDEX entries should be added to the data manager
Comment 1 George Staikos 2007-01-23 02:53:49 UTC
SVN commit 626380 by staikos:

update the search line when the dialog updates
BUG: 140472


 M  +4 -1      kstdatamanager_i.cpp  


--- trunk/extragear/graphics/kst/src/libkstapp/kstdatamanager_i.cpp #626379:626380
@@ -705,7 +705,8 @@
 }
 
 
-void KstDataAction::addedTo(QWidget *actionWidget, QWidget */*container*/) {
+void KstDataAction::addedTo(QWidget *actionWidget, QWidget *container) {
+  Q_UNUSED(container)
   if ( ::qt_cast<QToolButton*>(actionWidget) ) {
     if (!windowsStyle)
       windowsStyle = QStyleFactory::create("windows");
@@ -816,6 +817,8 @@
     KstObjectItem *oi = static_cast<KstObjectItem*>(i);
     oi->update();
   }
+
+  _searchWidget->searchLine()->updateSearch();
 }