From 2b75dd6c9d3e3a05d268d07e196facdf8a31884c Mon Sep 17 00:00:00 2001 From: casey langen Date: Sat, 10 Oct 2020 02:02:45 -0700 Subject: [PATCH] Removed some weird old, undocumented focus logic in OverlayBase that seems to be causing issues after correcting nested focus issues. --- src/musikcube/cursespp/cursespp/OverlayBase.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/musikcube/cursespp/cursespp/OverlayBase.h b/src/musikcube/cursespp/cursespp/OverlayBase.h index 9a3921ad2..ef4013d45 100644 --- a/src/musikcube/cursespp/cursespp/OverlayBase.h +++ b/src/musikcube/cursespp/cursespp/OverlayBase.h @@ -74,15 +74,6 @@ namespace cursespp { return false; } - virtual IWindowPtr FocusFirst() override { - auto focus = LayoutBase::FocusFirst(); - if (!focus) { - focus = shared_from_this(); - this->Focus(); - } - return focus; - } - void Dismiss() { if (this->stack) { stack->Remove(this);