Fixes issue #415; Instabilities on empty editor in multi tab mode
This commit is contained in:
@@ -426,15 +426,14 @@ void EditorPanel::close () {
|
||||
}
|
||||
|
||||
void EditorPanel::saveProfile () {
|
||||
if (!ipc || !openThm) return;
|
||||
|
||||
if (!ipc)
|
||||
return;
|
||||
ProcParams params;
|
||||
ipc->getParams (¶ms);
|
||||
|
||||
if (options.saveParamsFile)
|
||||
params.save (openThm->getFileName() + paramFileExtension);
|
||||
if (openThm && options.saveParamsCache)
|
||||
if (options.saveParamsCache)
|
||||
openThm->setProcParams (params, EDITOR);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user