*scratch* buffer use undo

This commit is contained in:
Maxime Coste 2012-12-05 19:22:07 +01:00
parent 479bb9df2c
commit 3438ba7ec3

View File

@ -627,7 +627,7 @@ void create_local_client(const String& file)
} }
} }
else else
buffer = new Buffer("*scratch*", Buffer::Flags::NoUndo); buffer = new Buffer("*scratch*", Buffer::Flags::None);
ClientManager::instance().create_client( ClientManager::instance().create_client(
std::unique_ptr<UserInterface>{ui}, *buffer, 0); std::unique_ptr<UserInterface>{ui}, *buffer, 0);