fix(desktop): change title for add dialogs
This commit is contained in:
parent
f6e362e9f3
commit
5d256245db
|
@ -18,6 +18,10 @@ namespace XIVChat_Desktop {
|
|||
|
||||
this.InitializeComponent();
|
||||
this.DataContext = this;
|
||||
|
||||
if (this.isNewServer) {
|
||||
this.Title = "Add server";
|
||||
}
|
||||
}
|
||||
|
||||
public ManageServer(Window owner, SavedServer server, bool isNewServer) {
|
||||
|
|
|
@ -27,6 +27,10 @@ namespace XIVChat_Desktop {
|
|||
this.InitializeComponent();
|
||||
this.DataContext = this;
|
||||
|
||||
if (this.isNewTab) {
|
||||
this.Title = "Add tab";
|
||||
}
|
||||
|
||||
foreach (var category in (FilterCategory[])Enum.GetValues(typeof(FilterCategory))) {
|
||||
var panel = new WrapPanel {
|
||||
Margin = new Thickness(8),
|
||||
|
|
Loading…
Reference in New Issue