gui2/tgame_cache_options: Remove Purge prompt
As gfgtdf pointed out, it's rather pointless.
This commit is contained in:
parent
93a7f5e599
commit
f5ba6a0e9e
2 changed files with 1 additions and 11 deletions
|
@ -41,6 +41,7 @@ Version 1.13.2+dev:
|
|||
* GUI1 comboboxes now use the thinner menu frame style.
|
||||
* Implemented a new GUI2 Attack dialog
|
||||
* Added gui2 comboboxes.
|
||||
* Removed prompt when purging the WML cache from Preferences.
|
||||
* WML engine:
|
||||
* Added new event "unit placed", which triggers when (and regardless of how)
|
||||
a unit appears on the map.
|
||||
|
|
|
@ -168,17 +168,6 @@ bool tgame_cache_options::clean_cache()
|
|||
|
||||
void tgame_cache_options::purge_cache_callback(CVideo& video)
|
||||
{
|
||||
if(show_message(video,
|
||||
_("Purge Cache"),
|
||||
_("Are you sure you want to purge the game data cache? "
|
||||
"All files in the cache directory will be deleted, and "
|
||||
"the cache will be regenerated next time it is "
|
||||
"required."),
|
||||
gui2::tmessage::yes_no_buttons) != gui2::twindow::OK)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if(purge_cache()) {
|
||||
show_message(video,
|
||||
_("Cache Purged"),
|
||||
|
|
Loading…
Add table
Reference in a new issue