Commit 4ead03c4 authored by cyrush's avatar cyrush
Browse files

changed expression definition widget to read only instead of disabled for database expressions

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@2120 18c085ea-50e0-402c-830e-de6fd14e8384
parent 4a1c295e
......@@ -638,6 +638,10 @@ QvisExpressionsWindow::UpdateWindowSingleItem()
// Brad Whitlock, Thu Dec 9 14:04:22 PST 2004
// Added a button to insert variable names.
//
// Cyrus Harrison, Mon Oct 1 16:24:32 PDT 2007
// Changed definitionEdit to be readOnly instead of disabled
// for database expressions so users can select/copy them.
//
// ****************************************************************************
void
......@@ -659,7 +663,7 @@ QvisExpressionsWindow::UpdateWindowSensitivity()
delButton->setEnabled(enable);
notHidden->setEnabled(enable);
typeList->setEnabled(enable);
definitionEdit->setEnabled(enable);
definitionEdit->setReadOnly(!enable);
insertFunctionButton->setEnabled(enable);
insertVariableButton->setEnabled(enable);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment