]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiListings.cpp
Consider possibility of empty tooltip
[lyx.git] / src / frontends / qt4 / GuiListings.cpp
index da128829e69bd3cbb0446f4d379af34f7f79f480..bc7fdb8176107f4f0c9b2be5e62da50ce18b8a0c 100644 (file)
@@ -346,21 +346,9 @@ string GuiListings::construct_params()
 
 docstring GuiListings::validate_listings_params()
 {
-       // use a cache here to avoid repeated validation
-       // of the same parameters
-       // FIXME THREAD
-       static string param_cache;
-       static docstring msg_cache;
-       
        if (bypassCB->isChecked())
                return docstring();
-
-       string params = construct_params();
-       if (params != param_cache) {
-               param_cache = params;
-               msg_cache = InsetListingsParams(params).validate();
-       }
-       return msg_cache;
+       return InsetListingsParams(construct_params()).validate();
 }