mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Fix Bullets panel (#12429)
This commit is contained in:
parent
20fd104cf2
commit
16ce82d4f9
@ -206,7 +206,7 @@ void BulletsModule::setupPanel(QListWidget * lw, QString const & panelname,
|
||||
QPixmap pixmap = getPixmap("images/" + toqstr(folder) + "/", toqstr(iconname), "svgz");
|
||||
QIcon icon(pixmap);
|
||||
icon.addPixmap(getSelectedPixmap(pixmap, icon_size), QIcon::Selected);
|
||||
QListWidgetItem * lwi = new QListWidgetItem(icon, QString());
|
||||
QListWidgetItem * lwi = new QListWidgetItem(icon, QString(), 0, i);
|
||||
lwi->setToolTip(toqstr(Bullet::bulletEntry(font, i)));
|
||||
lwi->setSizeHint(icon_size);
|
||||
lw->addItem(lwi);
|
||||
|
Loading…
Reference in New Issue
Block a user