diff --git a/XenAdmin/SettingsPanels/GpuEditPage.cs b/XenAdmin/SettingsPanels/GpuEditPage.cs
index 2c2f903f4..abc472063 100644
--- a/XenAdmin/SettingsPanels/GpuEditPage.cs
+++ b/XenAdmin/SettingsPanels/GpuEditPage.cs
@@ -132,8 +132,16 @@ namespace XenAdmin.SettingsPanels
{
get
{
- var tuple = comboBoxGpus.SelectedItem as GpuTuple;
- return tuple == null ? "" : tuple.ToString();
+ string txt = Messages.GPU_UNAVAILABLE;
+
+ if (gpusAvailable)
+ {
+ var tuple = comboBoxGpus.SelectedItem as GpuTuple;
+ if (tuple != null)
+ txt = tuple.ToString();
+ }
+
+ return txt;
}
}
diff --git a/XenModel/Messages.Designer.cs b/XenModel/Messages.Designer.cs
index 26a265004..50870e2a9 100644
--- a/XenModel/Messages.Designer.cs
+++ b/XenModel/Messages.Designer.cs
@@ -14037,6 +14037,15 @@ namespace XenAdmin {
}
}
+ ///
+ /// Looks up a localized string similar to Not available.
+ ///
+ public static string GPU_UNAVAILABLE {
+ get {
+ return ResourceManager.GetString("GPU_UNAVAILABLE", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Loading Data....
///
diff --git a/XenModel/Messages.resx b/XenModel/Messages.resx
index 1339fa9a4..7f2c4f5ed 100644
--- a/XenModel/Messages.resx
+++ b/XenModel/Messages.resx
@@ -4916,6 +4916,9 @@ Would you like to eject these ISOs before continuing?
Select which vGPU types are allowed on this GPU:
+
+ Not available
+
Graphs