tabbox: Prevent including "show desktop" entry if there are no other windows
BUG: 419408
This commit is contained in:
parent
8086707d1c
commit
3714dcc337
1 changed files with 2 additions and 1 deletions
|
@ -223,7 +223,8 @@ void ClientModel::createClientList(bool partialReset)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tabBox->config().clientApplicationsMode() != TabBoxConfig::AllWindowsCurrentApplication
|
if (!m_mutableClientList.isEmpty()
|
||||||
|
&& tabBox->config().clientApplicationsMode() != TabBoxConfig::AllWindowsCurrentApplication
|
||||||
&& tabBox->config().showDesktopMode() == TabBoxConfig::ShowDesktopClient) {
|
&& tabBox->config().showDesktopMode() == TabBoxConfig::ShowDesktopClient) {
|
||||||
Window *desktopClient = tabBox->desktopClient();
|
Window *desktopClient = tabBox->desktopClient();
|
||||||
if (desktopClient) {
|
if (desktopClient) {
|
||||||
|
|
Loading…
Reference in a new issue