mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 06:44:38 +01:00
Re-introduce message on successful screenshot (#21983)
* Re-introduce message on successful screenshot * Automatically close previous screenshot notices before new ones
This commit is contained in:
@@ -209,14 +209,14 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
WindowBase* ShowError(StringId title, StringId message, const Formatter& args) override
|
||||
WindowBase* ShowError(StringId title, StringId message, const Formatter& args, bool autoClose /* = false */) override
|
||||
{
|
||||
return ErrorOpen(title, message, args);
|
||||
return ErrorOpen(title, message, args, autoClose);
|
||||
}
|
||||
|
||||
WindowBase* ShowError(std::string_view title, std::string_view message) override
|
||||
WindowBase* ShowError(std::string_view title, std::string_view message, bool autoClose /* = false */) override
|
||||
{
|
||||
return ErrorOpen(title, message);
|
||||
return ErrorOpen(title, message, autoClose);
|
||||
}
|
||||
|
||||
WindowBase* OpenIntent(Intent* intent) override
|
||||
|
||||
Reference in New Issue
Block a user