fixed a bug that made the tabs not to follow when shading
This commit is contained in:
parent
d5eac398fc
commit
06c647d220
1 changed files with 3 additions and 2 deletions
|
@ -177,9 +177,10 @@ void Windowmenu::itemSelected(int button, int index) {
|
|||
switch (item->function()) {
|
||||
case BScreen::WindowShade:
|
||||
hide();
|
||||
if (window->getTab())
|
||||
window->getTab()->shade();
|
||||
|
||||
window->shade();
|
||||
if (window->hasTab())
|
||||
window->getTab()->shade();
|
||||
break;
|
||||
|
||||
case BScreen::WindowIconify:
|
||||
|
|
Loading…
Reference in a new issue