🐛 Fixed markdown preview issue
This commit is contained in:
@@ -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