Skip to content

Commit

Permalink
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion win-linux/src/cascapplicationmanagerwrapper.cpp
Original file line number Diff line number Diff line change
@@ -417,7 +417,7 @@ bool CAscApplicationManagerWrapper::processCommonEvent(NSEditorApi::CAscCefMenuE
return true;
} else
if ( !(cmd.find(L"recent:forget") == std::wstring::npos) ) {
m_private->removeRecentByViewId(event->get_SenderId());
RemoveRecentByViewId(event->get_SenderId());
return true;
} else
if ( !(cmd.find(L"system:changed") == std::wstring::npos) ) {
5 changes: 0 additions & 5 deletions win-linux/src/cascapplicationmanagerwrapper_private.h
Original file line number Diff line number Diff line change
@@ -408,11 +408,6 @@ class CAscApplicationManagerWrapper_Private
return m_appmanager.editorWindowFromViewId(viewid);
}

auto removeRecentByViewId(int viewid) -> bool
{
return m_appmanager.RemoveRecentByViewId(viewid);
}

auto openDocument(const COpenOptions& opts) -> bool
{
COpenOptions opts_ext{opts};

0 comments on commit 4dffbfd

Please sign in to comment.