Commit dc6d79b8 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[widgets][assetwidget] Give the path when asking to reload

parent c8be9987
......@@ -187,7 +187,10 @@ class AssetWidget(QWidget):
answer = QMessageBox.question(
self,
self.tr("File changed"),
self.tr("The file has changed on disk.\n" "Do you want to reload it ?"),
self.tr(
"The file:\n{}\nhas changed on disk.\n"
"Do you want to reload it ?".format(self.current_json)
),
)
if answer == QMessageBox.Yes:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment