Set Editor context when entering editor or main toolbar

This commit is contained in:
Robin Gareus
2025-03-05 00:08:57 +01:00
parent f1e9a8027a
commit 13ee3d9fc3

View File

@@ -719,7 +719,8 @@ Editor::Editor ()
setup_fade_images ();
switch_editing_context (this);
contents().signal_enter_notify_event().connect (sigc::mem_fun (*this, &Editor::enter), false);
content_main_top.signal_enter_notify_event().connect (sigc::mem_fun (*this, &Editor::enter), false);
content_main.signal_enter_notify_event().connect (sigc::mem_fun (*this, &Editor::enter), false);
}
bool