Skip to content
Commit 0ae97252 authored by Alexander Lohnau's avatar Alexander Lohnau
Browse files

kcm_editfiletypes: Fix crash when adding new part to empty list

Otherwise, we would have a bad cast and crash horribly at runtime.
To make sure we do not run into this hard to debug issue again, the "None"-Item
has a type of -1 set that we check before removing it.

Also, the "None"-Item is properly disabled
parent c1b7873f
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