Debugger: Fix inverted error check.
InspectorWindow: - Fix inverted error check when retrieving settings. This was causing us to fail to successfully load/apply previously stored settings for the inspector.
This commit is contained in:
parent
2994934b92
commit
40d8306053
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2011-2014, Rene Gollent, rene@gollent.com. All rights reserved.
|
* Copyright 2011-2015, Rene Gollent, rene@gollent.com. All rights reserved.
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -409,7 +409,7 @@ InspectorWindow::LoadSettings(const GuiTeamUiSettings& settings)
|
|||||||
return B_ERROR;
|
return B_ERROR;
|
||||||
|
|
||||||
BMessage inspectorSettings;
|
BMessage inspectorSettings;
|
||||||
if (settings.Settings("inspectorWindow", inspectorSettings) == B_OK)
|
if (settings.Settings("inspectorWindow", inspectorSettings) != B_OK)
|
||||||
return B_OK;
|
return B_OK;
|
||||||
|
|
||||||
BRect frameRect;
|
BRect frameRect;
|
||||||
|
Loading…
Reference in New Issue
Block a user