mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 09:47:58 +01:00
Prevent crash on Linux/Mac introduced in 0.80
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ExternalConsole>true</ExternalConsole>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<Optimize>true</Optimize>
|
||||
|
||||
@@ -512,6 +512,18 @@ static class Demo {
|
||||
});
|
||||
|
||||
win.Add (drag, dragText);
|
||||
#if false
|
||||
var label = new Label ("Fitler") {
|
||||
X = 2
|
||||
};
|
||||
var spacing = 20;
|
||||
|
||||
var button = new Button ("apply") {
|
||||
X = Pos.Right (label) + spacing + 2,
|
||||
Y = 0
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
top.Add (win);
|
||||
//top.Add (menu);
|
||||
|
||||
Reference in New Issue
Block a user