Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/xwt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcumming@microsoft.com>2019-08-23 20:18:02 +0300
committerMichael Cummings <mcumming@microsoft.com>2019-08-23 20:20:26 +0300
commit6d6df7fcbbef74800652bd50e9706b2394fb68c1 (patch)
tree611cb995dea763899245521fb74492a849396c99 /Xwt.XamMac/Xwt.Mac/ButtonBackend.cs
parent449535d13449542e41d4d8da9770e4c161b840fe (diff)
Adding NRE checks and preventing double event subscribing
Diffstat (limited to 'Xwt.XamMac/Xwt.Mac/ButtonBackend.cs')
-rw-r--r--Xwt.XamMac/Xwt.Mac/ButtonBackend.cs1
1 files changed, 0 insertions, 1 deletions
diff --git a/Xwt.XamMac/Xwt.Mac/ButtonBackend.cs b/Xwt.XamMac/Xwt.Mac/ButtonBackend.cs
index 95731696..96190ffa 100644
--- a/Xwt.XamMac/Xwt.Mac/ButtonBackend.cs
+++ b/Xwt.XamMac/Xwt.Mac/ButtonBackend.cs
@@ -155,7 +155,6 @@ namespace Xwt.Mac
public void SetFormattedText (FormattedText text)
{
- Widget.Title = text.Text;
Widget.AttributedTitle = text.ToAttributedString ();
}