Fix frequently switching visibility

pull/7/head
reionwong 5 years ago
parent 9458b8fb55
commit 48334a75aa

@ -250,6 +250,8 @@ void MainWindow::onVisibilityChanged()
{ {
// Always show // Always show
if (m_settings->visibility() == DockSettings::AlwaysShow) { if (m_settings->visibility() == DockSettings::AlwaysShow) {
m_hideTimer->stop();
setGeometry(windowRect()); setGeometry(windowRect());
setVisible(true); setVisible(true);
updateViewStruts(); updateViewStruts();

Loading…
Cancel
Save