App Server: Save decorator path on load, fixes #16412

Change-Id: Ia536764d4abb79772e4d3f16e2364d87792d60fd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3150
Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
John Scipione
2020-08-19 03:22:09 +00:00
parent a088631dc6
commit 90f9b5590f
+3 -1
View File
@@ -1,11 +1,12 @@
/*
* Copyright (c) 2001-2011, Haiku, Inc.
* Copyright (c) 2001-2020 Haiku, Inc. All right reserved.
* Distributed under the terms of the MIT license.
*
* Author:
* DarkWyrm <[email protected]>
* Clemens Zeidler <[email protected]>
* Joseph Groover <[email protected]>
* John Scipione <[email protected]>
*/
#include "DecorManager.h"
@@ -341,6 +342,7 @@ DecorManager::_LoadSettingsFromDisk()
DecorAddOn* decor = _LoadDecor(itemPath, error);
if (decor != NULL) {
fCurrentDecor = decor;
fCurrentDecorPath = itemPath;
return true;
} else {
//TODO: do something with the reported error