EntryProvider: saveUserEntry: Only save key field if it's not empty

Bu işleme şunda yer alıyor:
Albert S. 2020-10-19 21:29:51 +02:00
ebeveyn adfb065358
işleme 64d3223fb2
1 değiştirilmiş dosya ile 4 ekleme ve 1 silme

Dosyayı Görüntüle

@ -309,7 +309,10 @@ void EntryProvider::saveUserEntry(const EntryConfig &config)
outStream << "row" << " " << config.row << endl;
outStream << "col" << " " << config.col << endl;
outStream << "hidden" << " " << config.hidden << endl;
outStream << "key" << " " << config.key << endl;
if(!config.key.isEmpty())
{
outStream << "key" << " " << config.key << endl;
}
if(config.type == EntryType::USER)
{
if(!config.name.isEmpty())