+ fixes #0002306: Allow *.py files in the Customize/Macros/Macro dropdown
This commit is contained in:
@@ -64,7 +64,7 @@ DlgCustomActionsImp::DlgCustomActionsImp( QWidget* parent )
|
||||
GetParameterGroupByPath("User parameter:BaseApp/Preferences/Macro")
|
||||
->GetASCII("MacroPath",App::Application::getUserAppDataDir().c_str());
|
||||
|
||||
QDir d(QString::fromUtf8(cMacroPath.c_str()), QLatin1String("*.FCMacro"));
|
||||
QDir d(QString::fromUtf8(cMacroPath.c_str()), QLatin1String("*.FCMacro *.py"));
|
||||
actionMacros->insertItems(0, d.entryList());
|
||||
|
||||
QStringList labels; labels << tr("Icons") << tr("Macros");
|
||||
|
||||
Reference in New Issue
Block a user