neovars: do not delete "isQwertz" ini key

Use IniWrite instead of IniDelete in qwertz.ahk.
Deleting keys entirely is disrespectful to user-defined ini-files.
This commit is contained in:
ferdinym 2020-10-07 07:44:14 +02:00
parent ce70846593
commit 00649b9409
1 changed files with 1 additions and 6 deletions

View File

@ -30,12 +30,7 @@ CharProcQwerT0() {
CharProcQwerts() {
global
if (isQwertz == 0)
IniDelete,%ini%,Global,isQwertz
else
IniWrite,%isQwertz%,%ini%,Global,isQwertz
IniWrite,%isQwertz%,%ini%,Global,isQwertz
if ErrorLevel
TrayTip,QWERTZ-Belegungsvariante,Beim Speichern der Einstellung ist ein Fehler aufgetreten.,10,1
else if (zeigeModusBox)