From 3f4b996f07de69ef123fa341c72861c8a816fc50 Mon Sep 17 00:00:00 2001 From: PlayeRom Date: Wed, 8 Mar 2023 17:34:49 +0100 Subject: [PATCH] Remove the hardcoded canvas texture indexes Add index search by texture name instead. --- gui/dialogs/mcdu1-dlg.xml | 11 ++++++++++- gui/dialogs/mcdu2-dlg.xml | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/gui/dialogs/mcdu1-dlg.xml b/gui/dialogs/mcdu1-dlg.xml index 80550bee..6dc82bf9 100644 --- a/gui/dialogs/mcdu1-dlg.xml +++ b/gui/dialogs/mcdu1-dlg.xml @@ -179,11 +179,20 @@ diff --git a/gui/dialogs/mcdu2-dlg.xml b/gui/dialogs/mcdu2-dlg.xml index 109e1bb7..2e00cc5b 100644 --- a/gui/dialogs/mcdu2-dlg.xml +++ b/gui/dialogs/mcdu2-dlg.xml @@ -179,11 +179,20 @@