mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
zapit/src/femanager.cpp: fix copy settings from master to linked
This commit is contained in:
@@ -311,11 +311,9 @@ void CFEManager::copySettings(CFrontend * fe)
|
||||
{
|
||||
//FIXME copy on master settings change too
|
||||
if (CFrontend::linked(fe->getMode())) {
|
||||
int mnum = fe->getMaster();
|
||||
CFrontend * mfe = NULL;
|
||||
for(fe_map_iterator_t it = femap.begin(); it != femap.end(); it++) {
|
||||
if (it->second->fenumber == fe->getMaster()) {
|
||||
copySettings(mfe, fe);
|
||||
copySettings(it->second, fe);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user