diff --git a/app_win_2_back.cpp b/app_win_2_back.cpp index 7d80cae..9831f1b 100644 --- a/app_win_2_back.cpp +++ b/app_win_2_back.cpp @@ -44,12 +44,11 @@ namespace gui_to_app { void AppWin2Back::on_activate() { Application::on_activate(); - app_builder = [this] -> Glib::RefPtr { + app_builder = [] -> Glib::RefPtr { try { return Gtk::Builder::create_from_file("window_ui.ui"); } catch (const std::exception &e) { spdlog::critical("Error occurred while loading Window's UI: {}", e.what()); - quit(); return nullptr; } }();