fixed a bug in StaticplotterWidget
Bug: When you did not 'choose' a graph in the StaticPlotterWidget and you change an existing graph, the widget crashs.
Bug: When you did not 'choose' a graph in the StaticPlotterWidget and you change an existing graph, the widget crashs.