GUI: fix for a simulation with specular data
This resolves #311 (closed).
Previously, JobListModel
used QAbstractItemModel
signals rowsAboutToBeInserted
and rowsInserted
for the notification on job addition. These signals were emitted implicitly.
It seems that these signals were emitted in some other unprovided situations and JobListModel
tried to enable/disable notifications for the non-existing job. I couldn't localize the origin of this signal.
Now JobModel
emits special unique signal on adding a new job.