mirror of
https://github.com/huderlem/porymap.git
synced 2026-10-01 12:26:37 -05:00
Fix scripts.inc file watches accumulating
This commit is contained in:
@@ -87,6 +87,7 @@ public:
|
||||
QStringList getScriptLabels(Event::Group group = Event::Group::None);
|
||||
QString getScriptsFilepath() const;
|
||||
void openScript(const QString &label);
|
||||
void invalidateScripts();
|
||||
|
||||
static QString getJsonFilepath(const QString &mapName);
|
||||
QString getJsonFilepath() const { return getJsonFilepath(m_name); }
|
||||
@@ -144,8 +145,6 @@ private:
|
||||
QPointer<QUndoStack> m_editHistory;
|
||||
QPointer<QFileSystemWatcher> m_scriptFileWatcher;
|
||||
|
||||
void invalidateScripts();
|
||||
|
||||
signals:
|
||||
void modified();
|
||||
void scriptsModified();
|
||||
|
||||
Reference in New Issue
Block a user