fixing isEmpty again. (#2591)

hopefully the last time.

(cherry picked from commit 5332a26294)
This commit is contained in:
paxcut
2025-12-30 06:08:18 -07:00
committed by WerWolv
parent 0c48aef5ee
commit 35e8c73f7c

View File

@@ -509,9 +509,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 {