diff --git a/src/apps/text_search/Model.cpp b/src/apps/text_search/Model.cpp index e6db621faf..75bacf484f 100644 --- a/src/apps/text_search/Model.cpp +++ b/src/apps/text_search/Model.cpp @@ -33,6 +33,9 @@ #include #include #include +#include + +#include "GlobalDefs.h" using std::nothrow; @@ -64,6 +67,12 @@ Model::Model() fFilePanelPath = path.Path(); else fFilePanelPath = "/boot/home"; + + entry_ref dummy; + if (be_roster->FindApp(PE_SIGNATURE, &dummy) == B_OK) { + // Pe is installed, change the default settings + fInvokePe = true; + } }