[haiku-commits] r41255 - haiku/trunk/src/apps/overlayimage

  • From: jonas@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 15 Apr 2011 02:01:56 +0200 (CEST)

Author: kirilla
Date: 2011-04-15 02:01:56 +0200 (Fri, 15 Apr 2011)
New Revision: 41255
Changeset: https://dev.haiku-os.org/changeset/41255

Modified:
   haiku/trunk/src/apps/overlayimage/OverlayView.cpp
Log:
Set view non-editable. (The cursor would show up and blink if one clicked the 
text view.)

Modified: haiku/trunk/src/apps/overlayimage/OverlayView.cpp
===================================================================
--- haiku/trunk/src/apps/overlayimage/OverlayView.cpp   2011-04-14 23:51:38 UTC 
(rev 41254)
+++ haiku/trunk/src/apps/overlayimage/OverlayView.cpp   2011-04-15 00:01:56 UTC 
(rev 41255)
@@ -49,6 +49,7 @@
                "Drag the replicant to the Desktop.");
        fText->SetText(text);
        fText->SetAlignment(B_ALIGN_CENTER);
+       fText->MakeEditable(false);
        fText->MakeSelectable(false);
        fText->MoveBy(0, (Bounds().bottom - fText->TextRect().bottom) / 2);
 }


Other related posts:

  • » [haiku-commits] r41255 - haiku/trunk/src/apps/overlayimage - jonas