mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Amend last commit.
This commit is contained in:
parent
410d4316b9
commit
72556cdd7a
4 changed files with 13 additions and 14 deletions
|
|
@ -3162,7 +3162,6 @@ ARDOUR_UI::load_session (const std::string& path, const std::string& snap_name,
|
|||
list<string> const u = new_session->unknown_processors ();
|
||||
if (!u.empty()) {
|
||||
MissingPluginDialog d (_session, u);
|
||||
d.set_position (Gtk::WIN_POS_CENTER);
|
||||
d.run ();
|
||||
}
|
||||
}
|
||||
|
|
@ -4673,11 +4672,6 @@ int
|
|||
ARDOUR_UI::missing_file (Session*s, std::string str, DataType type)
|
||||
{
|
||||
MissingFileDialog dialog (s, str, type);
|
||||
/**
|
||||
* This dialog may appear many times in succession, so
|
||||
* we can't use ArdourDialog's default WIN_POS_MOUSE.
|
||||
*/
|
||||
dialog.set_position (Gtk::WIN_POS_CENTER);
|
||||
|
||||
dialog.show ();
|
||||
dialog.present ();
|
||||
|
|
@ -4701,15 +4695,12 @@ int
|
|||
ARDOUR_UI::ambiguous_file (std::string file, std::vector<std::string> hits)
|
||||
{
|
||||
AmbiguousFileDialog dialog (file, hits);
|
||||
/**
|
||||
* This dialog may appear many times in succession, so
|
||||
* we can't use ArdourDialog's default WIN_POS_MOUSE.
|
||||
*/
|
||||
dialog.set_position (Gtk::WIN_POS_CENTER);
|
||||
|
||||
dialog.show ();
|
||||
dialog.present ();
|
||||
|
||||
dialog.run ();
|
||||
|
||||
return dialog.get_which ();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue