🐛 Fixed markdown preview issue
This commit is contained in:
1 parent
26c7a3241c
commit
627c3dc71f
5 files changed
+14
-27
No files matched your search
@@ -74,7 +74,7 @@ func (wh *WindowHelper) FocusMainWindow() bool {
|
||||
func (wh *WindowHelper) AutoShowMainWindow() {
|
||||
window := wh.MustGetMainWindow()
|
||||
if window.IsVisible() {
|
||||
window.Hide()
|
||||
window.Focus()
|
||||
} else {
|
||||
window.Show()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user