diff --git a/BeWo/BeWo.csproj b/BeWo/BeWo.csproj index 0fb39222f..8e5bddff6 100644 --- a/BeWo/BeWo.csproj +++ b/BeWo/BeWo.csproj @@ -16,7 +16,7 @@ true Internet true - true + false 8CA4066C36C87B745E4016FDA715A6DB16FCFFA9 @@ -43,12 +43,12 @@ de-DE BeWoPlaner beyondSoft GmbH - 2.0.1.220 + 2.0.1.221 true publish.htm false true - 221 + 222 2.0.1.%2a false true diff --git a/BeWo/BeWoApp.xaml.cs b/BeWo/BeWoApp.xaml.cs index ebd0c6214..72d000bba 100644 --- a/BeWo/BeWoApp.xaml.cs +++ b/BeWo/BeWoApp.xaml.cs @@ -49,8 +49,8 @@ namespace BeWo public static LoginControl LoginControl; public static MainControl MainControl; - public static string ShortVersion = "3.13"; - public static string Version = "Version 3.13"; + public static string ShortVersion = "3.14"; + public static string Version = "Version 3.14"; public static int RenderTier = 0; diff --git a/BeWo/ServiceProxy/ServiceFacade.cs b/BeWo/ServiceProxy/ServiceFacade.cs index 26c15d9a2..45b2a849a 100644 --- a/BeWo/ServiceProxy/ServiceFacade.cs +++ b/BeWo/ServiceProxy/ServiceFacade.cs @@ -885,6 +885,10 @@ namespace BeWo.ServiceProxy { BeWoApp.ShowError(rowUpdated, e, false); } + else if (!String.IsNullOrEmpty(lBeWoFault.Message) && lBeWoFault.Message.IndexOf("überschreitet") >= 0 && lBeWoFault.Message.IndexOf("erlaubte Größe") >= 0) + { + BeWoApp.ShowError(lBeWoFault.Message, e, false); + } else { if (!String.IsNullOrEmpty(lBeWoFault.Message)) diff --git a/BeWo/View/Detail/TextbausteinView.xaml b/BeWo/View/Detail/TextbausteinView.xaml index 1e2d22fbe..476fc77dd 100644 --- a/BeWo/View/Detail/TextbausteinView.xaml +++ b/BeWo/View/Detail/TextbausteinView.xaml @@ -112,18 +112,12 @@ - - - - - - - + + - - + IsEnabled="{Binding Path=DataContext.RowData.Row, Converter={StaticResource IsOnlyForEmployeeRightsConverter}, RelativeSource={RelativeSource TemplatedParent}}" AcceptsReturn="True" AcceptsTab="True" TextTrimming="WordEllipsis" TextWrapping="Wrap" SelectAllOnGotFocus="False" SelectAllOnMouseUp="False" /> + + diff --git a/BeWo/View/Detail/TextbausteinView.xaml.cs b/BeWo/View/Detail/TextbausteinView.xaml.cs index 764718755..68f8f1e94 100644 --- a/BeWo/View/Detail/TextbausteinView.xaml.cs +++ b/BeWo/View/Detail/TextbausteinView.xaml.cs @@ -317,6 +317,18 @@ namespace BeWo.View.Detail ViewModel.AddNewVMToList(false); Save(); } + + // private void PART_Editor_GotFocus(object sender, RoutedEventArgs e) + // { + // var te = sender as TextEdit; + // if (te != null) + // { + // if (te.SelectionLength > 0) + // { + + // } + // } + // } } public class IsOnlyForEmployeeRightsConverter : IValueConverter diff --git a/BeWo/View/ExceptionMessageBox.xaml b/BeWo/View/ExceptionMessageBox.xaml index d4a785e01..c603e00c9 100644 --- a/BeWo/View/ExceptionMessageBox.xaml +++ b/BeWo/View/ExceptionMessageBox.xaml @@ -26,7 +26,11 @@ -