Add modified buffers count in error message of non-force quit
This commit is contained in:
parent
079b006cda
commit
be94505e46
|
@ -387,7 +387,8 @@ static void ensure_all_buffers_are_saved()
|
||||||
if (it == end)
|
if (it == end)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
String message = "modified buffers remaining: [";
|
String message = format("{} modified buffers remaining: [",
|
||||||
|
std::count_if(it, end, is_modified));
|
||||||
while (it != end)
|
while (it != end)
|
||||||
{
|
{
|
||||||
message += (*it)->name();
|
message += (*it)->name();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user