- Hide JumpTo progress dialog automatically on_response_event. Doesn't fix the previous bug.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1114 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
0fe1e13ef9
commit
cf4b4d050e
|
@ -96,9 +96,6 @@ GuiBuilder::on_simulation_jump_to_clicked()
|
|||
jump_to_dialog->set_transient_for(get_initial_window());
|
||||
jump_to_dialog->set_target_instant(target_instant);
|
||||
jump_to_dialog->run();
|
||||
|
||||
jump_to_dialog->hide();
|
||||
delete jump_to_dialog;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -49,6 +49,7 @@ JumpToDialog::JumpToDialog(BaseObjectType* cobject, const RefPtr<Xml>& glade) :
|
|||
// Attach signal handlers for the Stop button
|
||||
_stop_button->signal_clicked().connect(sigc::mem_fun(*this, &JumpToDialog::_on_stop));
|
||||
signal_show().connect(sigc::mem_fun(*this, &JumpToDialog::_on_jump));
|
||||
signal_response().connect(sigc::hide(sigc::mem_fun(*this, &JumpToDialog::hide)));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue