mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
Fix crash when moving around certain views
This commit is contained in:
@@ -27,11 +27,11 @@ namespace hex::prv {
|
||||
}
|
||||
|
||||
bool FileProvider::isReadable() {
|
||||
return this->m_readable;
|
||||
return isAvailable() && this->m_readable;
|
||||
}
|
||||
|
||||
bool FileProvider::isWritable() {
|
||||
return this->m_writable;
|
||||
return isAvailable() && this->m_writable;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user