Properly emit Plugin::DropReferences (2/2)

This also destroys the shadow plugin used for analysis as soon
as the analysis pane is hidden.
This commit is contained in:
Robin Gareus 2020-10-05 19:30:54 +02:00
parent 7ab664d5a4
commit 0f7850b0b7
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 11 additions and 6 deletions

View file

@ -891,7 +891,6 @@ PlugUIBase::toggle_plugin_analysis()
plugin_analysis_expander.add (*eqgui);
plugin_analysis_expander.show_all ();
eqgui->start_listening ();
}
if (!plugin_analysis_expander.get_expanded()) {
@ -899,7 +898,6 @@ PlugUIBase::toggle_plugin_analysis()
const int child_height = plugin_analysis_expander.get_child ()->get_height ();
eqgui->hide ();
eqgui->stop_listening ();
plugin_analysis_expander.remove();
Gtk::Window *toplevel = (Gtk::Window*) plugin_analysis_expander.get_ancestor (GTK_TYPE_WINDOW);