EntryConfig: Also store 'inherit' key. Needed to save entry later.
This commit is contained in:
parent
61001ed6cc
commit
f06e9a4f7b
@ -181,7 +181,8 @@ EntryConfig EntryProvider::readqsrunFile(const QString &path)
|
||||
}
|
||||
if(key == "inherit")
|
||||
{
|
||||
auto entry = readEntryFromPath(resolveEntryPath(splitted[1]));
|
||||
result.inherit = splitted[1];
|
||||
auto entry = readEntryFromPath(resolveEntryPath(result.inherit));
|
||||
if(entry)
|
||||
{
|
||||
inheritedConfig = *entry;
|
||||
|
@ -26,6 +26,7 @@ class EntryConfig
|
||||
QString command;
|
||||
QStringList arguments;
|
||||
QIcon icon;
|
||||
QString inherit;
|
||||
int row = 0;
|
||||
int col = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user