Remove unnecessary asserts from create_tool_loop()

This commit is contained in:
David Capello 2017-06-22 19:04:44 -03:00
parent 5ac5b358f3
commit 3f5bfa6d99

View File

@ -584,9 +584,6 @@ tools::ToolLoop* create_tool_loop(
app::Color fg = colorbar->getFgColor();
app::Color bg = colorbar->getBgColor();
ASSERT(fg.isValid());
ASSERT(bg.isValid());
if (!fg.isValid() || !bg.isValid()) {
Alert::show(PACKAGE
"<<The current selected foreground and/or background color"