Don't let map.json watches re-accumulate, fix trying to load scripts.inc before it exists

This commit is contained in:
GriffinR
2025-06-08 18:09:11 -04:00
parent ba1aa2b1ff
commit e6a4f88433
4 changed files with 14 additions and 4 deletions

View File

@@ -225,6 +225,10 @@ public:
QString buildMetatileLabelsText(const QMap<QString, uint16_t> defines);
QString findMetatileLabelsTileset(QString label);
bool watchFile(const QString &filename);
bool watchFiles(const QStringList &filenames);
bool stopFileWatch(const QString &filename);
static QString getExistingFilepath(QString filepath);
void applyParsedLimits();
@@ -324,8 +328,6 @@ private:
void setNewLayoutBlockdata(Layout *layout);
void setNewLayoutBorder(Layout *layout);
bool watchFile(const QString &filename);
bool watchFiles(const QStringList &filenames);
void ignoreWatchedFileTemporarily(const QString &filepath);
void ignoreWatchedFilesTemporarily(const QStringList &filepaths);
void recordFileChange(const QString &filepath);