#include "LyXView.h"
-#include "BufferView.h"
template <class Base>
ControlDialog<Base>::ControlDialog(LyXView & lv, Dialogs & d)
setParams();
+ static bool isBuilt = false;
+ if (!isBuilt) {
+ isBuilt = true;
+ view().build();
+ }
+
bc().readOnly(isReadonly());
view().show();
}
return;
setParams();
-
+
bc().readOnly(isReadonly());
+ // Reset the Button Controller to it's initial state
+ bc().invalid();
+ bc().restore();
+
view().update();
}