diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-29 02:12:03 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-29 02:12:03 +1000 |
commit | 224ad2c2c07311475875d1d243354f8647112b45 (patch) | |
tree | c8247f22b4ddda345b7f35d7c6ead25d5e1f2791 /source/windowing/StarWidget.cpp | |
parent | 35fc2679dea7b625bf559c6855e101fc62e613f4 (diff) |
Reset script panes on character swap
Diffstat (limited to 'source/windowing/StarWidget.cpp')
-rw-r--r-- | source/windowing/StarWidget.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/windowing/StarWidget.cpp b/source/windowing/StarWidget.cpp index 48b945f..0287288 100644 --- a/source/windowing/StarWidget.cpp +++ b/source/windowing/StarWidget.cpp @@ -219,6 +219,10 @@ void Widget::hide() { m_visible = false; } +bool Widget::visibility() const { + return m_visible; +} + void Widget::toggleVisibility() { m_visible = !m_visible; } |