Show PluginScanDialog only if needed (cancel VST scan)
This commit is contained in:
parent
c398576e4a
commit
f1d614b15d
@ -201,10 +201,8 @@ PluginScanDialog::message_handler (std::string type, std::string plugin, bool ca
|
||||
hide();
|
||||
connections.drop_connections ();
|
||||
} else {
|
||||
if (verbose) {
|
||||
message.set_text (type + ": " + Glib::path_get_basename(plugin));
|
||||
show();
|
||||
}
|
||||
message.set_text (type + ": " + Glib::path_get_basename(plugin));
|
||||
show();
|
||||
}
|
||||
|
||||
if (!can_cancel || !cancelled) {
|
||||
|
@ -341,7 +341,7 @@ StartupFSM::show_plugin_scan_dialog ()
|
||||
*/
|
||||
|
||||
const bool cache_only = (!Config->get_discover_vst_on_start() || Profile->get_mixbus());
|
||||
const bool verbose = (new_user || Config->get_discover_vst_on_start());
|
||||
const bool verbose = new_user;
|
||||
|
||||
plugin_scan_dialog = new PluginScanDialog (cache_only, verbose);
|
||||
current_dialog_connection = plugin_scan_dialog->signal_response().connect (sigc::bind (sigc::mem_fun (*this, &StartupFSM::dialog_response_handler), PluginDialog));
|
||||
|
Loading…
Reference in New Issue
Block a user