mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
tentative fix to docclass combox problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2741 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c50bd2b573
commit
3367b31201
@ -1,3 +1,8 @@
|
||||
2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* combox.C (hide): execute the callback _after_ closing the
|
||||
combox.
|
||||
|
||||
2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
|
||||
|
||||
* forms/form_citation.fd: remove spurious shortcut to a labelframe!
|
||||
|
@ -338,8 +338,6 @@ void Combox::hide(int who)
|
||||
}
|
||||
XUngrabPointer(fl_get_display(), 0);
|
||||
XFlush(fl_get_display());
|
||||
if (!who && browser && label && callback)
|
||||
callback(sel, cb_arg, this);
|
||||
if (form) {
|
||||
fl_hide_form(form);
|
||||
XSetInputFocus(fl_get_display(), save_window,
|
||||
@ -352,6 +350,8 @@ void Combox::hide(int who)
|
||||
fl_redraw_object(button);
|
||||
}
|
||||
}
|
||||
if (!who && browser && label && callback)
|
||||
callback(sel, cb_arg, this);
|
||||
if (_post) _post();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user