Georg Baum wrote:
>
> Index: src/frontends/Dialogs.C
> ===================================================================
> --- src/frontends/Dialogs.C (Revision 15111)
> +++ src/frontends/Dialogs.C (Arbeitskopie)
> @@ -73,6 +73,14 @@ Dialogs::Dialogs(LyXView & lyxview)
> }
>
>
> +Dialogs::~Dialogs()
> +{
> + // Disconnect signals
> + redrawGUI().disconnect_all_slots();
> + hideSignal().disconnect_all_slots();
> +}
Yes, it crashes while processing a signal.
> +
> Dialog * Dialogs::find_or_build(string const & name)
> {
> if (!isValidName(name))
> Index: src/frontends/Dialogs.h
> ===================================================================
> --- src/frontends/Dialogs.h (Revision 15111)
> +++ src/frontends/Dialogs.h (Arbeitskopie)
> @@ -33,6 +33,8 @@ class Dialogs : boost::noncopyable {
> public:
> ///
> Dialogs(LyXView &);
> + ///
> + ~Dialogs();
>
> /** Redraw all visible dialogs because, for example, the GUI colours
> * have been re-mapped.
shouldn't the destructor be virtual?
--
Peter Kümmel