Commit c117d8ed authored by Sébastien Wilmet's avatar Sébastien Wilmet
Browse files

Revert "DocumentsPanel: destroy tab"

This reverts commit cf118d05.

Destroying the tab also destroys the DocumentView. But for the
DocumentsMoveToNewWindow GtkAction, the DocumentView must not be
destroyed.
parent 822a60c7
......@@ -77,7 +77,6 @@ public class DocumentsPanel : Notebook
int pos = page_num (tab);
remove_page (pos);
tab.destroy ();
}
public void remove_all_tabs ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment