mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
bug-fix: fix VExplorer
This commit is contained in:
parent
8ed4264097
commit
4066ffb4f4
@ -344,7 +344,7 @@ void VExplorer::handleEntryActivated(int p_idx)
|
||||
updateStarButton();
|
||||
|
||||
// Check if exists.
|
||||
if (!QFileInfo::exists(m_entries[m_index].m_directory)) {
|
||||
if (checkIndex() && !QFileInfo::exists(m_entries[m_index].m_directory)) {
|
||||
VUtils::showMessage(QMessageBox::Warning,
|
||||
tr("Warning"),
|
||||
tr("Fail to open directory <span style=\"%1\">%2</span>.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user