1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-12 01:17:55 +03:00

fix #422, apply switch style

This commit is contained in:
Johan Smith Agudelo Rodriguez 2017-04-23 00:52:49 -05:00
parent c15bf2ccd6
commit 7913da4db0

View File

@ -23,11 +23,11 @@ import QtQuick.Controls 1.4
import QtQuick.Layouts 1.3
import QtGraphicalEffects 1.0
import QtQuick.Window 2.2
import QtQuick.Controls.Styles 1.4 as Styles
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import QtQuick.Controls.Styles.Plasma 2.0 as Styles
import org.kde.plasma.plasmoid 2.0
@ -166,6 +166,7 @@ PlasmaCore.FrameSvgItem {
plasmoid.configuration.advanced = !checked;
}
style: Styles.SwitchStyle { }
onCheckedChanged: {
if (!checked && tabGroup.currentTab === tweaksPage) {
if (tasksTabBtn.visible) {