Fix build on mac os.
This commit is contained in:
parent
53905b624a
commit
7a386292b7
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user