Commit fdc9d337 authored by James Liggett's avatar James Liggett

libanjuta: Don't start an AnjutaCommand that is already running

parent 7f121ee8
......@@ -248,9 +248,12 @@ anjuta_command_class_init (AnjutaCommandClass *klass)
void
anjuta_command_start (AnjutaCommand *self)
{
g_signal_emit_by_name (self, "command-started");
if (!self->priv->running)
{
g_signal_emit_by_name (self, "command-started");
ANJUTA_COMMAND_GET_CLASS (self)->start (self);
ANJUTA_COMMAND_GET_CLASS (self)->start (self);
}
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment