+ always save macro before executing
This commit is contained in:
parent
94851bc14f
commit
d248e8f914
|
@ -555,6 +555,9 @@ bool PythonEditorView::onHasMsg(const char* pMsg) const
|
|||
*/
|
||||
void PythonEditorView::executeScript()
|
||||
{
|
||||
// always save the macro when it is modified
|
||||
if (EditorView::onHasMsg("Save"))
|
||||
EditorView::onMsg("Save", 0);
|
||||
Application::Instance->macroManager()->run(Gui::MacroManager::File,fileName().toUtf8());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user