From 94c8f1e138798682b2b0c8236279318e45a7c9b4 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 13 Sep 2017 16:08:50 -0400 Subject: Also auto-open the palette modification UI when creating a copy of a color scheme. --- src-qt5/core/lumina-theme-engine/src/lthemeengine/appearancepage.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src-qt5/core/lumina-theme-engine') diff --git a/src-qt5/core/lumina-theme-engine/src/lthemeengine/appearancepage.cpp b/src-qt5/core/lumina-theme-engine/src/lthemeengine/appearancepage.cpp index 31b44ec2..88bde228 100644 --- a/src-qt5/core/lumina-theme-engine/src/lthemeengine/appearancepage.cpp +++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine/appearancepage.cpp @@ -130,6 +130,7 @@ void AppearancePage::copyColorScheme(){ QFile::copy(m_ui->colorSchemeComboBox->currentData().toString(), newPath); m_ui->colorSchemeComboBox->addItem(name.section('.',0,0), newPath); m_ui->colorSchemeComboBox->setCurrentIndex( m_ui->colorSchemeComboBox->count()-1); + QTimer::singleShot(10, this, SLOT(changeColorScheme()) ); } void AppearancePage::renameColorScheme(){ -- cgit