Commit c81dc918 authored by Christoffer Ackelman's avatar Christoffer Ackelman

QT: Fixed error when opening ge subgraphs a second time.

parent 9db688c8
...@@ -145,10 +145,6 @@ void GeQt::subgraphs_new() ...@@ -145,10 +145,6 @@ void GeQt::subgraphs_new()
{ {
int sts; int sts;
if (subgraphs_widget) {
subgraphs_widget->close();
}
subgraphs = new SubGraphsQt(this, "SubGraphs", (void*)graph->grow->ctx, subgraphs = new SubGraphsQt(this, "SubGraphs", (void*)graph->grow->ctx,
&subgraphs_widget, &sts); &subgraphs_widget, &sts);
subgraphs->message_cb = &Ge::message_cb; subgraphs->message_cb = &Ge::message_cb;
......
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