Fix crash when moving around certain views

This commit is contained in:
WerWolv
2020-11-11 10:47:02 +01:00
parent 9b6b43356b
commit 9e62685fd1
9 changed files with 38 additions and 32 deletions

View File

@@ -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;
}