Fix frequently switching visibility
This commit is contained in:
parent
9458b8fb55
commit
48334a75aa
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue