Fix build on mac os.

This commit is contained in:
Roman Telezhynskyi 2022-08-16 16:02:42 +03:00
parent 53905b624a
commit 7a386292b7

View File

@ -1127,8 +1127,8 @@ void TMainWindow::AboutToShowDockMenu()
//---------------------------------------------------------------------------------------------------------------------
void TMainWindow::OpenAt(QAction *where)
{
const QString path = curFile.left(curFile.indexOf(where->text())) + where->text();
if (path == curFile)
const QString path = m_curFile.left(m_curFile.indexOf(where->text())) + where->text();
if (path == m_curFile)
{
return;
}