mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-01 21:50:04 +00:00
Synchronize placefile layers with placefile manager after initialization
This commit is contained in:
parent
b6aef07af4
commit
ba75326c0c
3 changed files with 44 additions and 0 deletions
|
|
@ -162,6 +162,7 @@ PlacefileManager::PlacefileManager() : p(std::make_unique<Impl>(this))
|
|||
// Read placefile settings on startup
|
||||
main::Application::WaitForInitialization();
|
||||
p->ReadPlacefileSettings();
|
||||
Q_EMIT PlacefilesInitialized();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ public:
|
|||
static std::shared_ptr<PlacefileManager> Instance();
|
||||
|
||||
signals:
|
||||
void PlacefilesInitialized();
|
||||
void PlacefileEnabled(const std::string& name, bool enabled);
|
||||
void PlacefileRemoved(const std::string& name);
|
||||
void PlacefileRenamed(const std::string& oldName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue