Skip to content

Commit

Permalink
[gui_main] Exclude custom scripts from the list of recent projects
Browse files Browse the repository at this point in the history
  • Loading branch information
eumagga0x2a committed Nov 27, 2023
1 parent 6b1183f commit 42c5ed2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion avidemux/common/gui_main.cpp
Expand Up @@ -1254,7 +1254,8 @@ bool parseScript(IScriptEngine *engine, const char *name, IScriptEngine::RunMode

if (strcmp(longname, getDefaultSettingsFilePath().c_str()) &&
strcmp(longname, getLastSessionFilePath().c_str()) &&
strcmp(longname, getCrashRecoveryFilePath().c_str()))
strcmp(longname, getCrashRecoveryFilePath().c_str()) &&
strstr(longname, ADM_getCustomDir().c_str()) != longname)
{
prefs->set_lastprojectfile(longname);
UI_updateRecentProjectMenu();
Expand Down

0 comments on commit 42c5ed2

Please sign in to comment.