From 34fa06cd2958179999f8afdf75e4e24e30ab4080 Mon Sep 17 00:00:00 2001 From: duncanspumpkin Date: Fri, 22 Mar 2024 20:30:39 +0000 Subject: [PATCH] Address review comments --- src/openrct2-ui/interface/Window.cpp | 2 -- src/openrct2-ui/windows/TrackList.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/openrct2-ui/interface/Window.cpp b/src/openrct2-ui/interface/Window.cpp index e070d455af..f80393b5bf 100644 --- a/src/openrct2-ui/interface/Window.cpp +++ b/src/openrct2-ui/interface/Window.cpp @@ -879,8 +879,6 @@ namespace OpenRCT2::Ui::Windows WindowCloseByClass(WindowClass::Textinput); - // Enter in the text input buffer any existing - // text. _textBoxInput = existingText; _textInput = ContextStartTextInput(_textBoxInput, maxLength); diff --git a/src/openrct2-ui/windows/TrackList.cpp b/src/openrct2-ui/windows/TrackList.cpp index 716faca1d6..b6fa8ff905 100644 --- a/src/openrct2-ui/windows/TrackList.cpp +++ b/src/openrct2-ui/windows/TrackList.cpp @@ -297,7 +297,7 @@ static Widget _trackListWidgets[] = { } break; case WIDX_FILTER_STRING: - WindowStartTextbox(*this, widgetIndex, _filterString, sizeof(_filterString)); // TODO check this out + WindowStartTextbox(*this, widgetIndex, _filterString, sizeof(_filterString)); break; case WIDX_FILTER_CLEAR: // Keep the highlighted item selected