EntryProvider: saveUserEntry(): Add missing fields

This commit is contained in:
Albert S. 2020-10-04 21:36:40 +02:00
parent 101885ffe4
commit 776cbe4d30
1 changed files with 6 additions and 0 deletions

View File

@ -298,6 +298,8 @@ 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.type == EntryType::USER)
{
if(!config.name.isEmpty())
@ -312,6 +314,10 @@ void EntryProvider::saveUserEntry(const EntryConfig &config)
{
outStream << "icon" << " " << config.iconPath << endl;
}
if(!config.arguments.empty())
{
outStream << "arguments" << " " << config.arguments.join(' ') << endl;
}
}
outStream.flush();