Commit 2023efab authored by hjk's avatar hjk
Browse files

bineditor: fix recently introduced regression in setSize

parent f5ac44ef
......@@ -224,7 +224,7 @@ public:
if (offset < static_cast<quint64>(file.size())
&& file.open(QIODevice::ReadOnly)) {
m_fileName = fileName;
m_editor->setSizes(offset, file.size(), true);
m_editor->setSizes(offset, file.size());
m_editor->editor()->setDisplayName(QFileInfo(fileName).fileName());
file.close();
return true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment