mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:44:21 +02:00
Update script list to only label local files
This commit is contained in:
parent
2eeb3f5f2f
commit
b108ea3140
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ QVariant ScriptsModel::data(const QModelIndex& index, int role) const {
|
|||
}
|
||||
|
||||
if (role == Qt::DisplayRole) {
|
||||
return QVariant((*files)[row]->getFilename() + (isLocal ? "" : " (remote)"));
|
||||
return QVariant((*files)[row]->getFilename() + (isLocal ? " (local)" : ""));
|
||||
} else if (role == ScriptPath) {
|
||||
return QVariant((*files)[row]->getFullPath());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue