[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kmdi
From:       Matt Rogers <mattr () kde ! org>
Date:       2004-12-31 4:50:25
Message-ID: 20041231045025.688031BC21 () office ! kde ! org
[Download RAW message or body]

CVS commit by mattr: 

don't maximize the new top child unless the last one was maximized.
Fixes the problem where docking a child frame window would maximize it


  M +1 -1      kmdichildarea.cpp   1.14


--- kdelibs/kmdi/kmdichildarea.cpp  #1.13:1.14
@@ -210,5 +210,5 @@ void KMdiChildArea::setTopChild( KMdiChi
                 setMaximumSize( nChildAreaMaxW, nChildAreaMaxH );
                 
-                if ( maximizedChild )
+                if ( topChildMaximized )
                 {   //maximize the new view and restore the old
                         child->setState( KMdiChildFrm::Maximized, false /*animate*/);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic