26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
From 7c270c455bdf6022f39f0f27be4325003f1aa1c4 Mon Sep 17 00:00:00 2001
|
|
From: cbradney <cbradney@11d20701-8431-0410-a711-e3c959e3b870>
|
|
Date: Sun, 13 Jun 2010 21:15:45 +0000
|
|
Subject: [PATCH] #8917: Force shapes icons in menus to have an icon so they show up on DEs that turn off icons by default
|
|
|
|
git-svn-id: svn://scribus.info/Scribus/branches/Version135@15185 11d20701-8431-0410-a711-e3c959e3b870
|
|
---
|
|
Scribus/scribus/autoformbuttongroup.cpp | 1 +
|
|
1 files changed, 1 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/Scribus/scribus/autoformbuttongroup.cpp b/Scribus/scribus/autoformbuttongroup.cpp
|
|
index f7e8267..8f67c78 100644
|
|
--- a/Scribus/scribus/autoformbuttongroup.cpp
|
|
+++ b/Scribus/scribus/autoformbuttongroup.cpp
|
|
@@ -79,6 +79,7 @@ AutoformButtonGroup::AutoformButtonGroup( QWidget* parent ) : QMenu( parent )
|
|
void AutoformButtonGroup::addShape(QMenu* menu, int shapenum)
|
|
{
|
|
QAction *action = menu->addAction(QIcon(getIconPixmap(shapenum, 16)), "");
|
|
+ action->setIconVisibleInMenu(true);
|
|
connect(action, SIGNAL(triggered()), signalMapper, SLOT(map()));
|
|
signalMapper->setMapping(action, shapenum);
|
|
}
|
|
--
|
|
1.6.6.1
|
|
|