]> git.lyx.org Git - features.git/blobdiff - src/frontends/controllers/ControlParagraph.cpp
merge ButtonController and its view (Qt2BC in this case)
[features.git] / src / frontends / controllers / ControlParagraph.cpp
index f30762e697094270ad5ad60ad41b5a2d498fbea1..b2e262d0e9ab8ef40392f1de49061d566e1af0ce 100644 (file)
@@ -15,7 +15,6 @@
 #include "Buffer.h"
 #include "BufferParams.h"
 #include "BufferView.h"
-#include "ButtonController.h"
 #include "Cursor.h"
 #include "FuncRequest.h"
 #include "Lexer.h"
@@ -117,7 +116,7 @@ bool ControlParagraph::initialiseParams(string const & data)
        // If "update", then set the activation status of the button controller
        if (action > 0) {
                bool const accept = action == 1;
-               dialog().bc().valid(accept);
+               dialog().setButtonsValid(accept);
        }
        return true;
 }