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()) {
|
switch (item->function()) {
|
||||||
case BScreen::WindowShade:
|
case BScreen::WindowShade:
|
||||||
hide();
|
hide();
|
||||||
if (window->getTab())
|
|
||||||
window->getTab()->shade();
|
|
||||||
window->shade();
|
window->shade();
|
||||||
|
if (window->hasTab())
|
||||||
|
window->getTab()->shade();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case BScreen::WindowIconify:
|
case BScreen::WindowIconify:
|
||||||
|
|
Loading…
Reference in a new issue