Bug 140472 - Problem with updates in the data manager
Summary: Problem with updates in the data manager
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-23 02:11 UTC by Andrew Walker
Modified: 2007-01-23 02:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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();
 }