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:
@@ -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.
|
* Distributed under the terms of the MIT license.
|
||||||
*
|
*
|
||||||
* Author:
|
* Author:
|
||||||
* DarkWyrm <[email protected]>
|
* DarkWyrm <[email protected]>
|
||||||
* Clemens Zeidler <[email protected]>
|
* Clemens Zeidler <[email protected]>
|
||||||
* Joseph Groover <[email protected]>
|
* Joseph Groover <[email protected]>
|
||||||
|
* John Scipione <[email protected]>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "DecorManager.h"
|
#include "DecorManager.h"
|
||||||
@@ -341,6 +342,7 @@ DecorManager::_LoadSettingsFromDisk()
|
|||||||
DecorAddOn* decor = _LoadDecor(itemPath, error);
|
DecorAddOn* decor = _LoadDecor(itemPath, error);
|
||||||
if (decor != NULL) {
|
if (decor != NULL) {
|
||||||
fCurrentDecor = decor;
|
fCurrentDecor = decor;
|
||||||
|
fCurrentDecorPath = itemPath;
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
//TODO: do something with the reported error
|
//TODO: do something with the reported error
|
||||||
|
|||||||
Reference in New Issue
Block a user