]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ButtonController.h
The reference dialog now disconnects from the inset on Apply. Its behaviour
[lyx.git] / src / frontends / controllers / ButtonController.h
index 8b4725976c471b0dd5ed0ede6ffb7936bb049f11..dee049628c35f12d72b50ccac17e33e7978d8fd4 100644 (file)
 
 #include <list>
 
+#include "gettext.h"
+#include "ButtonControllerBase.h"
+#include "debug.h" 
+
 template <class Button, class Widget>
 class GuiBC : public ButtonControllerBase
 {
@@ -72,6 +76,8 @@ GuiBC<Button, Widget>::GuiBC(string const & cancel, string const & close)
 template <class Button, class Widget>
 void GuiBC<Button, Widget>::refresh()
 {
+       lyxerr[Debug::GUI] << "Calling BC refresh()" << std::endl; 
        if (okay_) {
                bool const enabled = bp().buttonStatus(ButtonPolicy::OKAY);
                setButtonEnabled(okay_, enabled);