This commit is contained in:
Kovid Goyal 2024-02-08 14:26:02 +05:30
parent 391430870a
commit d7d9488807
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -138,7 +138,8 @@ class PaletteWidget(QWidget):
uc.setChecked(bool(gprefs[f'{mode_name}_palette_name']))
uc.toggled.connect(self.use_custom_toggled)
self.import_system_button = b = QPushButton(_('Import &system colors'))
b.setToolTip(_('Set the custom colors to colors queried from the system'))
b.setToolTip(textwrap.fill(_('Set the custom colors to colors queried from the system.'
' Note that this will use colors from whatever the current system palette is, dark or light.')))
b.clicked.connect(self.import_system_colors)
h.addWidget(uc), h.addStretch(10), h.addWidget(b)