forked from qt-creator/qt-creator
TextEditor: Hide controls in scheme editor for builtin schemes
Show a label instead with a link that copies the current color scheme. Fixes: QTCREATORBUG-21874 Change-Id: I74083bac8d7124341b4b63d8e172172235c5e184 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -377,6 +377,8 @@ QWidget *FontSettingsPage::widget()
|
||||
this, &FontSettingsPage::colorSchemeSelected);
|
||||
connect(d_ptr->m_ui->copyButton, &QPushButton::clicked,
|
||||
this, &FontSettingsPage::openCopyColorSchemeDialog);
|
||||
connect(d_ptr->m_ui->schemeEdit, &ColorSchemeEdit::copyScheme,
|
||||
this, &FontSettingsPage::openCopyColorSchemeDialog);
|
||||
connect(d_ptr->m_ui->deleteButton, &QPushButton::clicked,
|
||||
this, &FontSettingsPage::confirmDeleteColorScheme);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user