Deltares / imod-qgis

🗺️🧭 QGIS plugin for iMOD
GNU General Public License v2.0
7 stars 1 forks source link

KeyError: '0', when trying to draw a cross section of data without top/bottom #29

Closed Huite closed 1 year ago

Huite commented 2 years ago

It's an easy mistake to make, to forget to tick the checkbox "As Line". This results in a confusing stack trace.

Ideally, a QMessageWindow (or something) is raised instead, informing the user of the problem.