[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kivio/plugins/kiviotexttool
From: Peter Simonsson <psn () linux ! se>
Date: 2005-12-31 18:08:20
Message-ID: 1136052500.868200.9858.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 492955 by psn:
Ooops the textbox specific settings should be used here too
M +3 -3 tool_text.cpp
--- trunk/koffice/kivio/plugins/kiviotexttool/tool_text.cpp #492954:492955
@@ -346,11 +346,11 @@
}
Kivio::StencilTextEditor editor(i18n("Edit Text"), view(), "StencilTextEditor");
- editor.setFont(stencil->textFont());
- editor.setFontColor(stencil->textColor());
+ editor.setFont(stencil->textFont(name));
+ editor.setFontColor(stencil->textColor(name));
editor.setBackgroundColor(stencil->bgColor());
editor.setText(stencil->text(name));
- editor.setHorizontalAlign(static_cast<Qt::AlignmentFlags>(stencil->hTextAlign()));
+ editor.setHorizontalAlign(static_cast<Qt::AlignmentFlags>(stencil->hTextAlign(name)));
if(editor.exec() == QDialog::Accepted) {
KMacroCommand* macroCmd = new KMacroCommand(i18n("Change Stencil Text and Formatting"));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic