mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Enable the InsetInclude dialog to be opened.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8235 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
890bba60e4
commit
f02dbbd049
@ -1,3 +1,8 @@
|
|||||||
|
2003-12-12 Angus Leeming <leeming@lyx.org>
|
||||||
|
|
||||||
|
* insetinclude.C (draw): cache x,y and so enable the
|
||||||
|
dialog to be opened.
|
||||||
|
|
||||||
2003-12-12 Angus Leeming <leeming@lyx.org>
|
2003-12-12 Angus Leeming <leeming@lyx.org>
|
||||||
|
|
||||||
* mailinset.C (print_mailer_error): tidy up the output.
|
* mailinset.C (print_mailer_error): tidy up the output.
|
||||||
|
@ -548,6 +548,9 @@ void InsetInclude::metrics(MetricsInfo & mi, Dimension & dim) const
|
|||||||
|
|
||||||
void InsetInclude::draw(PainterInfo & pi, int x, int y) const
|
void InsetInclude::draw(PainterInfo & pi, int x, int y) const
|
||||||
{
|
{
|
||||||
|
xo_ = x;
|
||||||
|
yo_ = y;
|
||||||
|
|
||||||
if (!RenderPreview::activated() || !preview_->previewReady()) {
|
if (!RenderPreview::activated() || !preview_->previewReady()) {
|
||||||
button_.draw(pi, x + button_.box().x1, y);
|
button_.draw(pi, x + button_.box().x1, y);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user