Skip to content

Commit

Permalink
do not expand columns with only one sub-task
Browse files Browse the repository at this point in the history
fixes #88, references #67
  • Loading branch information
FluffierThanThou committed Apr 4, 2018
1 parent 15c0a45 commit 2ac0a90
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified Assemblies/WorkTab.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion Source/PawnTable/MainTabWindow_WorkTab.cs
Expand Up @@ -366,7 +366,7 @@ private void DoToggleButtons( Rect canvas )
private void ExpandAll( bool expand )
{
foreach (var expandableColumn in PawnTableDef.columns.Select( c => c.Worker ).OfType<IExpandableColumn>())
if (expandableColumn.Expanded != expand)
if ( expandableColumn.Expanded != expand && expandableColumn.CanExpand )
expandableColumn.Expanded = expand;
}

Expand Down
4 changes: 2 additions & 2 deletions Source/Properties/AssemblyInfo.cs
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("18.1.5.122")]
[assembly: AssemblyFileVersion("18.1.5.122")]
[assembly: AssemblyVersion("18.1.5.123")]
[assembly: AssemblyFileVersion("18.1.5.123")]

0 comments on commit 2ac0a90

Please sign in to comment.