impr: Make Hex Editor view always be focused by default

This commit is contained in:
WerWolv
2025-08-31 11:22:26 +02:00
parent 0e14ff5a3d
commit 06ac7eb85f
3 changed files with 49 additions and 28 deletions

View File

@@ -82,10 +82,12 @@ namespace hex {
*/
[[nodiscard]] virtual View* getMenuItemInheritView() const { return nullptr; }
[[nodiscard]] const char *getIcon() const { return m_icon; }
[[nodiscard]] const UnlocalizedString& getUnlocalizedName() const;
[[nodiscard]] std::string getName() const;
[[nodiscard]] virtual bool shouldDefaultFocus() const { return false; }
[[nodiscard]] virtual bool shouldStoreWindowState() const { return true; }
[[nodiscard]] bool &getWindowOpenState();