]> git.lyx.org Git - features.git/blobdiff - src/frontends/controllers/ControlPrint.cpp
merge ButtonController and its view (Qt2BC in this case)
[features.git] / src / frontends / controllers / ControlPrint.cpp
index bcb0df017b1fe916edcac1ba50a9a52c84d03fa3..21236906ee135091c404b454bc2121de8a893f0b 100644 (file)
@@ -12,7 +12,6 @@
 
 #include "ControlPrint.h"
 
-#include "ButtonController.h"
 #include "frontend_helpers.h"
 
 #include "Buffer.h"
@@ -49,7 +48,7 @@ bool ControlPrint::initialiseParams(std::string const &)
        params_.reset(new PrinterParams(PrinterParams::PRINTER,
                                        lyxrc.printer, name));
 
-       dialog().bc().valid(); // so that the user can press Ok
+       dialog().setButtonsValid(true); // so that the user can press Ok
        return true;
 }