History

Update script list to only label local files

Ryan Huffman committed 12 years ago

Commit b108ea31 parent 2eeb3f51 file · +1 −1Browse files

Showing the changes to interface/src/ScriptsModel.cpp (1 of 1 file). Show all

Unified · Split

interface/src/ScriptsModel.cpp+1−1
@@ -73,7 +73,7 @@ QVariant ScriptsModel::data(const QModelIndex& index, int role) const { · 72 unmodified lines
73 }73 }
74 74
75 if (role == Qt::DisplayRole) {75 if (role == Qt::DisplayRole) {
76 return QVariant((*files)[row]->getFilename() + (isLocal ? "" : " (remote)"));76 return QVariant((*files)[row]->getFilename() + (isLocal ? " (local)" : ""));
77 } else if (role == ScriptPath) {77 } else if (role == ScriptPath) {
78 return QVariant((*files)[row]->getFullPath());78 return QVariant((*files)[row]->getFullPath());
79 }79 }