From abf68d7ad36f992415a00af41848bcfa8ad7d2a2 Mon Sep 17 00:00:00 2001 From: Pcornat Date: Wed, 18 Dec 2024 22:55:31 +0100 Subject: [PATCH] Adding a Builder as a field (app_builder) --- app_win_2_back.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app_win_2_back.cpp b/app_win_2_back.cpp index 7addbd1..334ba9e 100644 --- a/app_win_2_back.cpp +++ b/app_win_2_back.cpp @@ -36,7 +36,7 @@ namespace gui_to_app { void AppWin2Back::on_activate() { Application::on_activate(); - const auto app_builder = [this]() -> Glib::RefPtr { + app_builder = [this]() -> Glib::RefPtr { try { return Gtk::Builder::create_from_file("window_ui.ui"); } catch (const std::exception &e) {