mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 09:07:35 +00:00
HexEditor: Don't require the ValueInspectorModel's value size to be i32
This commit is contained in:
parent
df57536c40
commit
da7a8a8711
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ HexEditorWidget::HexEditorWidget()
|
||||||
if (!index.is_valid())
|
if (!index.is_valid())
|
||||||
return;
|
return;
|
||||||
m_selecting_from_inspector = true;
|
m_selecting_from_inspector = true;
|
||||||
m_editor->set_selection(m_editor->selection_start_offset(), index.data(GUI::ModelRole::Custom).as_i32());
|
m_editor->set_selection(m_editor->selection_start_offset(), index.data(GUI::ModelRole::Custom).to_integer<size_t>());
|
||||||
m_editor->update();
|
m_editor->update();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue