Fix close window

This commit is contained in:
Ximi1970
2021-01-16 20:33:48 +01:00
parent 687b9be786
commit 1b60aa0359

View File

@@ -198,16 +198,16 @@ void WindowCtrl::slotWindowState( Preferences::WindowState state )
#ifdef Q_OS_UNIX
/*
* Update the TB windows and states
*/
findWindows( m_ppid );
/*
* Minimize all?
*/
if( state == Preferences::STATE_MINIMIZED_ALL || state == Preferences::STATE_MINIMIZED_ALL_STARTUP )
{
/*
* Update the TB windows and states
*/
findWindows( m_ppid );
QList< quint64 > win_ids = getWinIds();
if( state == Preferences::STATE_MINIMIZED || state == Preferences::STATE_MINIMIZED_ALL )