mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-31 04:40:55 +00:00
@ Fixed bug in recent files list
This commit is contained in:
parent
507f5c634a
commit
9934ddad25
1 changed files with 2 additions and 2 deletions
|
@ -1869,11 +1869,11 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
int number = i + 2;
|
||||
recentitems[i + 1].Text = "&" + number.ToString() + " " + GetDisplayFilename(recentitems[i].Tag.ToString());
|
||||
recentitems[i + 1].Tag = recentitems[i].Tag.ToString();
|
||||
recentitems[i + 1].Visible = (recentitems[i + 1].Text != "");
|
||||
recentitems[i + 1].Visible = (recentitems[i].Tag.ToString() != "");
|
||||
}
|
||||
|
||||
// Add new file at the top
|
||||
recentitems[0].Text = "&1 - " + GetDisplayFilename(filename);
|
||||
recentitems[0].Text = "&1 " + GetDisplayFilename(filename);
|
||||
recentitems[0].Tag = filename;
|
||||
recentitems[0].Visible = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue