made RS not to ask for plugin confirmation on first load

This commit is contained in:
csoler 2017-07-29 23:12:56 +02:00
parent 345f24eb5f
commit e8415c4f03
9 changed files with 19 additions and 12 deletions

View file

@ -301,8 +301,13 @@ bool NotifyQt::askForPassword(const std::string& title, const std::string& key_d
return false;
}
bool NotifyQt::askForPluginConfirmation(const std::string& plugin_file_name, const std::string& plugin_file_hash)
bool NotifyQt::askForPluginConfirmation(const std::string& plugin_file_name, const std::string& plugin_file_hash, bool first_time)
{
// By default, when no information is known about plugins, just dont load them. They will be enabled from the GUI by the user.
if(first_time)
return false ;
RsAutoUpdatePage::lockAllEvents() ;
QMessageBox dialog;