Version: 0.99-devel (using KDE 3.2 BRANCH >= 20040204, Mandrake Linux Cooker i586 - Cooker) Compiler: gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk) OS: Linux (i686) release 2.6.3-7mdk create a plot in kst from the command line eg: kst -y GYRO1 -f 0 -n 1000 /data/rawdir/BlastTestFlight/ without doing anything, select file->quit the 'the current plot def has been modified. Do you want to save it'' dialog dialog pops up. Correct Behavior: if a plots has been made exclusively from the command line, and not modified, then kst should be able to exit without confirmation.
CVS commit by staikos: nothing is modified in Kst until the UI is shown CCMAIL: 87021-done@bugs.kde.org M +3 -1 main.cpp 1.72 --- kdeextragear-2/kst/kst/main.cpp #1.71:1.72 @@ -32,11 +32,12 @@ #include "kstdatacollection.h" #include "kstdefaultnames.h" +#include "kstdoc.h" #include "kstequationcurve.h" #include "ksthistogram.h" #include "kstlegend.h" #include "kstpsdcurve.h" +#include "ksttoplevelview.h" #include "kstvcurve.h" #include "kstversion.h" -#include "ksttoplevelview.h" #include "plugincollection.h" @@ -637,4 +638,5 @@ int main(int argc, char *argv[]) { kst->show(); kst->updateDialogs(); + kst->document()->setModified(false); }