mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Fixed bug preventing autonaing from working
With the recent changes to the way that ShortcutForm worked, I had left a logic check that was no longer needed, an in fact actually caused an Autoname bug. Now fixed.
This commit is contained in:
parent
714cb910ec
commit
db0bfbecbe
@ -26,8 +26,8 @@ using System.Resources;
|
||||
[assembly: Guid("e4ceaf5e-ad01-4695-b179-31168eb74c48")]
|
||||
|
||||
// Version information
|
||||
[assembly: AssemblyVersion("2.1.0.246")]
|
||||
[assembly: AssemblyFileVersion("2.1.0.246")]
|
||||
[assembly: AssemblyVersion("2.1.0.249")]
|
||||
[assembly: AssemblyFileVersion("2.1.0.249")]
|
||||
[assembly: NeutralResourcesLanguageAttribute( "en" )]
|
||||
[assembly: CLSCompliant(true)]
|
||||
|
||||
|
@ -924,21 +924,6 @@ namespace DisplayMagician.UIForms
|
||||
}
|
||||
}
|
||||
|
||||
/*private void SelectGameInImageListView()
|
||||
{
|
||||
ilv_games.ClearSelection();
|
||||
IEnumerable<ImageListViewItem> matchingImageListViewItems = (from item in ilv_games.Items where item.Text == _shortcutToEdit.GameName select item);
|
||||
if (matchingImageListViewItems.Any())
|
||||
{
|
||||
ImageListViewItem itemToSelect = matchingImageListViewItems.First();
|
||||
itemToSelect.Selected = true;
|
||||
itemToSelect.Focused = true;
|
||||
itemToSelect.Enabled = true;
|
||||
ilv_games.EnsureVisible(itemToSelect.Index);
|
||||
//ilv_games.Refresh();
|
||||
}
|
||||
}*/
|
||||
|
||||
private void ClearForm()
|
||||
{
|
||||
// Clear the textboxes
|
||||
@ -1635,6 +1620,7 @@ namespace DisplayMagician.UIForms
|
||||
else
|
||||
{
|
||||
// We're editing a new shortcut, so no game or anything selected
|
||||
ilv_games.ClearSelection();
|
||||
}
|
||||
|
||||
// Set up the start programs
|
||||
@ -2790,8 +2776,6 @@ namespace DisplayMagician.UIForms
|
||||
}
|
||||
|
||||
private void ilv_games_ItemClick(object sender, ItemClickEventArgs e)
|
||||
{
|
||||
if (ilv_games.SelectedItems.Count > 0)
|
||||
{
|
||||
txt_game_name.Text = e.Item.Text;
|
||||
foreach (Game game in DisplayMagician.GameLibraries.GameLibrary.AllInstalledGamesInAllLibraries)
|
||||
@ -2812,17 +2796,11 @@ namespace DisplayMagician.UIForms
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
SuggestShortcutName();
|
||||
EnableSaveButtonIfValid();
|
||||
}
|
||||
|
||||
/*private void tabc_shortcut_VisibleChanged(object sender, EventArgs e)
|
||||
{
|
||||
//if (tabc_shortcut.Visible == true)
|
||||
// SelectGameInImageListView();
|
||||
}*/
|
||||
|
||||
private void btn_find_examples_startprograms_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user