Emitting a dataChanged signal from setData after succesful update and connecting...
[emufront] / src / models / filepathmodel.cpp
index bd59729..0622a5c 100644 (file)
@@ -96,6 +96,7 @@ bool FilePathModel::setData(const QModelIndex &index, const QVariant &value, int
         ok = false;
         qDebug() << "File path model, this shouldn't be happening!";
     }
+       if (ok) emit dataChanged();
     refresh();
     return ok;
 }