Commit 2a5bcae8 authored by Jan Möbius's avatar Jan Möbius

Fix crash in scripting plugin on reshow

closes #56
parent 7a899ed8
...@@ -681,6 +681,9 @@ void ScriptingPlugin::slotSaveScriptAs(){ ...@@ -681,6 +681,9 @@ void ScriptingPlugin::slotSaveScriptAs(){
void ScriptingPlugin::slotFunctionClicked(QListWidgetItem * _item) void ScriptingPlugin::slotFunctionClicked(QListWidgetItem * _item)
{ {
if ( _item == 0)
return;
QString slotDescription; QString slotDescription;
QStringList params; QStringList params;
QStringList descriptions; QStringList descriptions;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment