kcms/tabbox: Fix preview for show desktop option
Use the correct config option to decide whether to show the desktop thumbnail on preview. "DesktopMode" refers to filter by desktop.
This commit is contained in:
parent
7d1db53f6b
commit
20bee00681
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ void KWinTabBoxConfig::configureEffectClicked()
|
|||
if (form->effectComboCurrentData(KWinTabBoxConfigForm::AddonEffect).toBool()) {
|
||||
// Show the preview for addon effect
|
||||
new LayoutPreview(form->effectComboCurrentData(KWinTabBoxConfigForm::LayoutPath).toString(),
|
||||
form->config()->desktopMode(),
|
||||
form->config()->showDesktopMode(),
|
||||
this);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue