From 5332a26294c24400e974a295fe99869b82da15e2 Mon Sep 17 00:00:00 2001 From: paxcut <53811119+paxcut@users.noreply.github.com> Date: Tue, 30 Dec 2025 06:08:18 -0700 Subject: [PATCH] fixing isEmpty again. (#2591) hopefully the last time. --- plugins/ui/source/ui/text_editor/support.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/ui/source/ui/text_editor/support.cpp b/plugins/ui/source/ui/text_editor/support.cpp index afef55e54..9090d036a 100644 --- a/plugins/ui/source/ui/text_editor/support.cpp +++ b/plugins/ui/source/ui/text_editor/support.cpp @@ -514,9 +514,7 @@ namespace hex::ui { return false; if (size == 0) return true; - if (m_lines[0].empty()) - return true; - return true; + return m_lines[0].empty(); } bool TextEditor::EditorState::operator==(const EditorState &o) const {