1
0
mirror of synced 2024-11-28 09:30:51 +01:00

fix: Settings menu closing when changing language

This commit is contained in:
WerWolv 2021-09-20 20:42:30 +02:00
parent 5edc0b876c
commit c5cd6422c6

View File

@ -57,7 +57,7 @@ namespace hex {
void confirmButtons(const std::string &textLeft, const std::string &textRight, const std::function<void()> &leftButtonFn, const std::function<void()> &rightButtonFn); void confirmButtons(const std::string &textLeft, const std::string &textRight, const std::function<void()> &leftButtonFn, const std::function<void()> &rightButtonFn);
static inline std::string toWindowName(const std::string &unlocalizedName) { static inline std::string toWindowName(const std::string &unlocalizedName) {
return LangEntry(unlocalizedName) + "##" + unlocalizedName; return LangEntry(unlocalizedName) + "###" + unlocalizedName;
} }
private: private: