]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormForks.C
fix crash with "save as"
[lyx.git] / src / frontends / xforms / FormForks.C
index bb1bbe342b4ed443e2bdd3b16e0fc88f74b8b63e..b6494c332b63fec25952c9b7095b5f8ef2dcd278 100644 (file)
@@ -1,9 +1,11 @@
 /**
  * \file FormForks.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Angus Leeming <leeming@lyx.org>
+ * \author Angus Leeming 
+ *
+ * Full author contact details are available in file CREDITS
  * \date 2001-10-22
  */
 
@@ -54,9 +56,13 @@ void FormForks::build() {
        // Set up the tooltip mechanism
        string str = _("All currently running child processes forked by LyX.");
        tooltips().init(dialog_->browser_children, str);
+       // Work-around xforms' bug; enable tooltips for browser widgets.
+       setPrehandler(dialog_->browser_children);
 
        str = _("A list of all child processes to kill.");
        tooltips().init(dialog_->browser_kill, str);
+       // Work-around xforms' bug; enable tooltips for browser widgets.
+       setPrehandler(dialog_->browser_kill);
 
        str = _("Add all processes to the list of processes to kill.");
        tooltips().init(dialog_->button_all, str);