Avoid detaching a detached composer
https://bugzilla.gnome.org/show_bug.cgi?id=743433
This commit is contained in:
parent
d4cc681e91
commit
28a489cf22
1 changed files with 2 additions and 0 deletions
|
|
@ -1048,6 +1048,8 @@ public class ComposerWidget : Gtk.EventBox {
|
|||
}
|
||||
|
||||
private void on_detach() {
|
||||
if (state == ComposerState.DETACHED)
|
||||
return;
|
||||
Gtk.Widget? focus = container.remove_composer();
|
||||
ComposerWindow window = new ComposerWindow(this);
|
||||
if (focus != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue