Fixed replacement of failed RenderView after sessionSource import (if a

sessionSource contains a RenderView, the later should be re-created).
This commit is contained in:
brunoherbelin
2021-02-05 18:11:16 +01:00
parent 93b6bc9ca4
commit 8185c93457
5 changed files with 74 additions and 35 deletions

View File

@@ -109,7 +109,8 @@ protected:
SourceList candidate_sources_;
SourceList stash_;
void insertSource(Source *s, View::Mode m = View::INVALID);
void replaceSource(Source *from, Source *to);
bool replaceSource(Source *from, Source *to);
bool recreateSource(Source *s);
void setCurrentSource(SourceList::iterator it);
SourceList::iterator current_source_;