summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewscript.h
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2014-03-25 11:37:19 +0200
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2014-03-25 11:37:19 +0200
commitbb0515db318ee4e528da75160e982b38dd9b4b5f (patch)
treecc3085f93ac1bf951c8cbe132379dfea8a251558 /indra/newview/llpreviewscript.h
parent7aa2aeca93a4ac881c48e59bfc59a9ae9849ac62 (diff)
MAINT-3852 FIXED Use script name in "Save as" dialog.
Diffstat (limited to 'indra/newview/llpreviewscript.h')
-rwxr-xr-xindra/newview/llpreviewscript.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llpreviewscript.h b/indra/newview/llpreviewscript.h
index 9fb0a4fb63..97187e055a 100755
--- a/indra/newview/llpreviewscript.h
+++ b/indra/newview/llpreviewscript.h
@@ -110,6 +110,8 @@ public:
virtual bool hasAccelerators() const { return true; }
+ void setScriptName(const std::string& name){mScriptName = name;};
+
private:
void onBtnHelp();
void onBtnDynamicHelp();
@@ -132,6 +134,7 @@ protected:
private:
std::string mSampleText;
+ std::string mScriptName;
LLTextEditor* mEditor;
void (*mLoadCallback)(void* userdata);
void (*mSaveCallback)(void* userdata, BOOL close_after_save);