Satisfy Issue 904: Add option to close appearance floater with Esc
Setting AppearanceCloseOnEscape to true will turn this on.
This commit is contained in:
@@ -132,6 +132,8 @@ void LLMorphView::setVisible(BOOL visible)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (LLFloaterCustomize::instanceExists() && gSavedSettings.getBOOL("AppearanceCloseOnEscape"))
|
||||
LLFloaterCustomize::instance().onClose(false);
|
||||
shutdown();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user