1 |
/* |
/* |
2 |
* Copyright (C) 2007-2017 Andreas Persson |
* Copyright (C) 2007-2019 Andreas Persson |
3 |
* |
* |
4 |
* This program is free software; you can redistribute it and/or |
* This program is free software; you can redistribute it and/or |
5 |
* modify it under the terms of the GNU General Public License as |
* modify it under the terms of the GNU General Public License as |
430 |
connect_signals(parent, window); |
connect_signals(parent, window); |
431 |
if (instrument) window->load_instrument(instrument); |
if (instrument) window->load_instrument(instrument); |
432 |
|
|
433 |
window->signal_hide().connect(sigc::mem_fun(this, |
window->signal_hide().connect(sigc::mem_fun(*this, |
434 |
&GigEditState::close_window)); |
&GigEditState::close_window)); |
435 |
window->present(); |
window->present(); |
436 |
} |
} |