]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ButtonPolicies.C
Rob Lahaye's "iconify dialogs with main window if so desired" patch.
[lyx.git] / src / frontends / controllers / ButtonPolicies.C
index f504b7c9864bd461cb58f0f15b3197626d4f83b4..a1510d632744401fa920593e8ab1b26b41b61a85 100644 (file)
@@ -1,4 +1,3 @@
-// -*- C++ -*-
 /* ButtonPolicies.C
  * Provides a state machine implementation of the various button policies
  * used by the dialogs.
@@ -35,6 +34,11 @@ void nextState(ButtonPolicy::State & state,
        if (ButtonPolicy::SMI_NOOP == in) return;
 
        ButtonPolicy::State tmp = s_m[state][in];
+
+       lyxerr[Debug::GUI] << "Transition from state "
+               << state << " to state " << tmp << " after input "
+               << in << std::endl;
        if (ButtonPolicy::BOGUS != tmp) {
                state = tmp;
        } else {