/[svn]/gigedit/trunk/src/gigedit/gigedit.cpp
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/gigedit.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3460 by schoenebeck, Tue Nov 14 18:07:25 2017 UTC revision 3461 by persson, Sat Feb 2 17:53:36 2019 UTC
# Line 1  Line 1 
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
# Line 430  void GigEditState::open_window() { Line 430  void GigEditState::open_window() {
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  }  }

Legend:
Removed from v.3460  
changed lines
  Added in v.3461

  ViewVC Help
Powered by ViewVC