fix GTK3 about dialog closure (#3892)
This commit is contained in:
parent
5ba2186f1f
commit
32a1429047
|
@ -1331,6 +1331,7 @@ void Application::Impl::show_about_dialog()
|
|||
d->signal_close_request().connect_notify([d]() mutable { d.reset(); });
|
||||
#else
|
||||
d->signal_delete_event().connect_notify([d](void* /*event*/) mutable { d.reset(); });
|
||||
d->signal_response().connect_notify([&dref = *d](int /*response*/) { dref.close(); });
|
||||
#endif
|
||||
d->show();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue