Consolidate PinDialog Session/recording checks
authorRobin Gareus <robin@gareus.org>
Mon, 29 Oct 2018 20:50:08 +0000 (21:50 +0100)
committerRobin Gareus <robin@gareus.org>
Mon, 29 Oct 2018 20:50:08 +0000 (21:50 +0100)
commit7d8b93add17620135eadee5029325a3d22512b12
treea21c42ddd0b922db3929312ac227fc31faa7685f
parent6c19a776f43b4a9869780e3312764d039a16cd39
Consolidate PinDialog Session/recording checks

- _session cannot be NULL while the dialog is visible.
  This removes extra `if (_session)` tests.
- Operations now no longer fail silently, but show error messages.
gtk2_ardour/plugin_pin_dialog.cc
gtk2_ardour/plugin_pin_dialog.h