diff --git a/rtgui/filebrowser.cc b/rtgui/filebrowser.cc index 79a225831..67eede569 100644 --- a/rtgui/filebrowser.cc +++ b/rtgui/filebrowser.cc @@ -1099,19 +1099,24 @@ void FileBrowser::applyMenuItemActivated (Glib::ustring ppname) { void FileBrowser::applyPartialMenuItemActivated (Glib::ustring ppname) { - // TODO: Check for Linux + { #if PROTECT_VECTORS MYREADERLOCK(l, entryRW); #endif if (!tbl || selected.empty()) return; + } const rtengine::procparams::PartialProfile* srcProfiles = profileStore.getProfile (ppname); if (srcProfiles->pparams) { if (partialPasteDlg.run()==Gtk::RESPONSE_OK) { + #if PROTECT_VECTORS + MYREADERLOCK(l, entryRW); + #endif + if (bppcl) bppcl->beginBatchPParamsChange(selected.size()); for (size_t i=0; i #include // for raise() -#include +#include #ifdef WIN32 #include @@ -87,7 +87,7 @@ public: #if STRICT_MUTEX || !defined(NDEBUG) if (alreadyLocked) { #ifndef NDEBUG - printf("Warning: MyMutex already locked!\n"); // breakpoint + std::cout << "Warning: MyMutex already locked!" << std::endl; // breakpoint #endif #if STRICT_MUTEX #ifndef NDEBUG @@ -115,7 +115,7 @@ public: #if STRICT_MUTEX || !defined(NDEBUG) if (alreadyLocked) { #ifndef NDEBUG - printf("Warning: MyMutex already locked!\n"); // breakpoint + std::cout << "Warning: MyMutex already locked!" << std::endl; // breakpoint #endif #if STRICT_MUTEX #ifndef NDEBUG