show only filename in macro editor tab rather than full path, fixes issue #4063

This commit is contained in:
mwganson
2019-07-19 23:49:25 -05:00
committed by wmayer
parent b477294903
commit f1a7ef6a77

View File

@@ -329,6 +329,7 @@ void DlgMacroExecuteImp::on_editButton_clicked()
edit->open(file);
edit->resize(400, 300);
getMainWindow()->addWindow(edit);
edit->setWindowTitle(item->text(0));
if (mitem->systemWide) {
editor->setReadOnly(true);