mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 14:16:31 +01:00
make NSD open correctly if open clicked from audio setup page
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2315 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
43a43437bc
commit
eb8fa64dff
2 changed files with 4 additions and 4 deletions
|
|
@ -491,7 +491,10 @@ NewSessionDialog::session_name() const
|
|||
}
|
||||
*/
|
||||
|
||||
if (m_notebook->get_current_page() == 0) {
|
||||
int page = m_notebook->get_current_page();
|
||||
|
||||
if (page == 0 || page == 2) {
|
||||
/* new or audio setup pages */
|
||||
return Glib::filename_from_utf8(m_name->get_text());
|
||||
} else {
|
||||
if (m_treeview->get_selection()->count_selected_rows() == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue