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

MainWindow: stop TeplTab::close-request signal emission

TeplTab::close-request has now a default object method handler, which
will be used in latexila in the future, but not yet now.
parent 9b2f5f01
......@@ -701,7 +701,10 @@ public class MainWindow : ApplicationWindow
if (tab == null)
return null;
tab.close_request.connect (() => { close_tab (tab); });
tab.close_request.connect (() => {
close_tab (tab);
Signal.stop_emission_by_name (tab, "close-request");
Document doc = tab.document;
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