Destroy popover when hiding options

This commit is contained in:
Jesse van den Kieboom 2014-07-10 19:10:38 +02:00
parent 89a3c8168e
commit 6115250d59
2 changed files with 5 additions and 0 deletions

View file

@ -133,6 +133,7 @@ public class DiffViewOptions : Gtk.Grid
private void on_button_developer_tools_clicked()
{
view.get_inspector().show();
hide();
}
}

View file

@ -603,6 +603,10 @@ namespace Gitg
opts.show();
m.show();
opts.notify["visible"].connect(() => {
m.destroy();
});
return true;
}
}