Bug 105030 - datasource configuration (ASCII) is not always saved
Summary: datasource configuration (ASCII) is not always saved
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-03 17:09 UTC by Nicolas Brisset
Modified: 2005-05-05 01:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Brisset 2005-05-03 17:09:47 UTC
Version:           1.1.0-beta2 (using KDE KDE 3.2.2)
Installed from:    RedHat RPMs
Compiler:          gcc 3.3.3 
OS:                Linux

It seems that only per-instance datasource settings are saved (if you click the "Configure..." button in the datawizard after selecting a data file). General settings are not saved. To reproduce:
1) launch kst
2) go to Settings->Configure kst...->"Data sources" tab
3) choose ASCII, click "Configure" and change some random settings
4) click OK
5) click "Configure" again for ASCII: the options set previously have not been stored.

The expected behavior would be for settings to be stored as defaults when they are configured this way (i.e. not for a specific instance of the ASCII datasource)
Comment 1 George Staikos 2005-05-05 01:21:28 UTC
SVN commit 409523 by staikos:

Load datasource settings when the dialog opens.
BUG: 105030


 M  +1 -0      trunk/extragear/graphics/kst/kst/kstsettingsdlg.ui.h  


--- trunk/extragear/graphics/kst/kst/kstsettingsdlg.ui.h #409522:409523
@@ -185,6 +185,7 @@
     connect(dlg, SIGNAL(applyClicked()), cw, SLOT(save()));
     cw->reparent(dlg, QPoint(0, 0));
     dlg->setMainWidget(cw);
+    cw->load();
     dlg->exec();
     delete dlg;
 }