diff options
Diffstat (limited to 'src/Slit.cc')
-rw-r--r-- | src/Slit.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Slit.cc b/src/Slit.cc index af3a0be..db2deae 100644 --- a/src/Slit.cc +++ b/src/Slit.cc | |||
@@ -347,6 +347,9 @@ Slit::~Slit() { | |||
347 | if (frame.pixmap != 0) | 347 | if (frame.pixmap != 0) |
348 | screen().imageControl().removeImage(frame.pixmap); | 348 | screen().imageControl().removeImage(frame.pixmap); |
349 | 349 | ||
350 | // otherwise it will try to access it on deletion | ||
351 | screen().removeConfigMenu(m_slitmenu); | ||
352 | |||
350 | shutdown(); | 353 | shutdown(); |
351 | } | 354 | } |
352 | 355 | ||