summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2015-02-06 06:35:44 +0000
committerJazzyNico <nicoduf@yahoo.fr>2015-02-06 06:35:44 +0000
commite418967124f31abb39f1e8b1cc389d4ddddbf1c7 (patch)
tree3428a8fdb1a13a2512e5056b0d412a4a536b617d /src
parentTranslations. Arabic translations update. (diff)
downloadinkscape-e418967124f31abb39f1e8b1cc389d4ddddbf1c7.tar.gz
inkscape-e418967124f31abb39f1e8b1cc389d4ddddbf1c7.zip
Fix for Bug #1417752 (Find & Replace ignores Flowed text objects).
Fixed bugs: - https://launchpad.net/bugs/1417752 (bzr r13903)
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/find.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/dialog/find.cpp b/src/ui/dialog/find.cpp
index 6d8d64607..951cb01ea 100644
--- a/src/ui/dialog/find.cpp
+++ b/src/ui/dialog/find.cpp
@@ -37,6 +37,7 @@
#include "preferences.h"
#include "sp-text.h"
#include "sp-flowtext.h"
+#include "sp-flowdiv.h"
#include "text-editing.h"
#include "sp-tspan.h"
#include "sp-tref.h"
@@ -693,7 +694,10 @@ bool Find::item_type_match (SPItem *item)
} else if (dynamic_cast<SPPath *>(item) || dynamic_cast<SPLine *>(item) || dynamic_cast<SPPolyLine *>(item)) {
return (all || check_paths.get_active());
- } else if (dynamic_cast<SPText *>(item) || dynamic_cast<SPTSpan *>(item) || dynamic_cast<SPTRef *>(item) || dynamic_cast<SPString *>(item)) {
+ } else if (dynamic_cast<SPText *>(item) || dynamic_cast<SPTSpan *>(item) ||
+ dynamic_cast<SPTRef *>(item) || dynamic_cast<SPString *>(item) ||
+ dynamic_cast<SPFlowtext *>(item) || dynamic_cast<SPFlowdiv *>(item) ||
+ dynamic_cast<SPFlowtspan *>(item) || dynamic_cast<SPFlowpara *>(item)) {
return (all || check_texts.get_active());
} else if (dynamic_cast<SPGroup *>(item) && !desktop->isLayer(item) ) { // never select layers!