fix: don't load when editor isn't open
This commit is contained in:
parent
ce226ae9f8
commit
963bf7498b
|
@ -676,10 +676,10 @@ 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);
|
||||
}
|
||||
}
|
||||
|
||||
ImGui.TableNextColumn();
|
||||
if (Util.IconButton(FontAwesomeIcon.Search, tooltip: "Try on")) {
|
||||
|
|
Loading…
Reference in New Issue