Removed some weird old, undocumented focus logic in OverlayBase that

seems to be causing issues after correcting nested focus issues.
This commit is contained in:
casey langen 2020-10-10 02:02:45 -07:00
parent 6fde5a7d0d
commit 2b75dd6c9d

View File

@ -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);