fix: don't load when editor isn't open
This commit is contained in:
parent
ce226ae9f8
commit
963bf7498b
|
@ -676,9 +676,9 @@ namespace Glamaholic.Ui {
|
|||
if (Util.IconButton(FontAwesomeIcon.Check, tooltip: "Apply")) {
|
||||
if (!Util.IsEditingPlate(this.Ui.Plugin.GameGui)) {
|
||||
this.AddTimedMessage("The in-game plate editor must be open.");
|
||||
} else {
|
||||
this.Ui.Plugin.Functions.LoadPlate(plate);
|
||||
}
|
||||
|
||||
this.Ui.Plugin.Functions.LoadPlate(plate);
|
||||
}
|
||||
|
||||
ImGui.TableNextColumn();
|
||||
|
|
Loading…
Reference in New Issue