]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiInclude.cpp
Improve wording (#10670)
[lyx.git] / src / frontends / qt4 / GuiInclude.cpp
index e1fc2754346e5b32edef5b145ecf3e98607fe8b8..b02fd9181f0384e52e7f31fe8ed7a9c22062c297 100644 (file)
@@ -91,21 +91,10 @@ void GuiInclude::change_adaptor()
 
 docstring GuiInclude::validate_listings_params()
 {
-       // use a cache here to avoid repeated validation
-       // of the same parameters
-       // FIXME THREAD
-       static string param_cache = string();
-       static docstring msg_cache = docstring();
-       
        if (typeCO->currentIndex() != 3 || bypassCB->isChecked())
                return docstring();
-
        string params = fromqstr(listingsED->toPlainText());
-       if (params != param_cache) {
-               param_cache = params;
-               msg_cache = InsetListingsParams(params).validate();
-       }
-       return msg_cache;
+       return InsetListingsParams(params).validate();
 }