Preference button to clear settings
This commit is contained in:
@@ -124,6 +124,10 @@ public:
|
||||
|
||||
static void switchTab(S32 i);
|
||||
|
||||
// *HACK: Close without doing anything.
|
||||
// This is used by the "reset all settings" button.
|
||||
static void closeWithoutSaving();
|
||||
|
||||
protected:
|
||||
LLPreferenceCore *mPreferenceCore;
|
||||
|
||||
@@ -133,6 +137,7 @@ protected:
|
||||
LLButton *mOKBtn;
|
||||
LLButton *mCancelBtn;
|
||||
LLButton *mApplyBtn;
|
||||
bool mExitWithoutSaving;
|
||||
|
||||
static void onClickAbout(void*);
|
||||
static void onBtnOK(void*);
|
||||
|
||||
Reference in New Issue
Block a user