ervin added a comment.
In D24847#552665 <https://phabricator.kde.org/D24847#552665>, @bport wrote: > I will update this patch to allow to delete current selected theme but remove bug > So if we have A B C, A selected > > 1. we delete B : B pending deletion A still selected > 2. we delete A : A and B pending deletion C selected > > What happen if we delete the last one ? It's a bit theoretical in practice you always have at least one coming from the system which can't be deleted. Anyway, assuming you'd end up in such a situation: if it's the last one I'd say: don't allow deletion in the first place. REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D24847 To: bport, mart, ervin, #plasma, crossi Cc: bport, ngraham, broulik, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart