mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-01-01 21:33:40 +01:00
Allow only valid characters when creating collections.
This commit is contained in:
parent
f808c8a471
commit
c2bc8252f1
3 changed files with 10 additions and 4 deletions
|
|
@ -85,7 +85,7 @@ public partial class ConfigWindow
|
|||
+ "You can use multiple collections to quickly switch between sets of mods." );
|
||||
|
||||
// Creation buttons.
|
||||
var tt = _canAddCollection ? string.Empty : "Please enter a unique name before creating a collection.";
|
||||
var tt = _canAddCollection ? string.Empty : "Please enter a unique name only consisting of symbols valid in a path but no '|' before creating a collection.";
|
||||
if( ImGuiUtil.DrawDisabledButton( "Create New Empty Collection", Vector2.Zero, tt, !_canAddCollection ) )
|
||||
{
|
||||
CreateNewCollection( false );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue