fix: Window title not always updating correctly

This commit is contained in:
WerWolv
2022-08-10 00:11:16 +02:00
parent 683018a9d2
commit 19a0dc80db
4 changed files with 17 additions and 7 deletions
-4
View File
@@ -113,10 +113,6 @@ namespace hex {
EventManager::post<EventWindowClosing>(this->m_window);
});
EventManager::subscribe<EventProviderDeleted>(this, [](const auto*) {
EventManager::post<RequestChangeWindowTitle>("");
});
EventManager::subscribe<RequestChangeWindowTitle>(this, [this](const std::string &windowTitle) {
std::string title = "ImHex";