[Kst] branches/work/kst/portto4/kst/src/libkstmath

Mike Fenton mike at staikos.net
Fri Nov 14 16:02:31 CET 2008


SVN commit 884292 by fenton:

Fix crash in plugins when no vectors is selected.


 M  +1 -1      basicplugin.h  


--- branches/work/kst/portto4/kst/src/libkstmath/basicplugin.h #884291:884292
@@ -52,7 +52,7 @@
     virtual QString descriptionTip() const;
 
     // Validator of plugin data.  Expensive, only use to verify successful creation.
-    bool isValid() { return algorithm(); }
+    bool isValid() { return (inputsExist() && algorithm()); }
     QString errorMessage() { return _errorString; }
 
   public slots:


More information about the Kst mailing list