From e11eba1de4123a27e882aa1737ca9de94448230e Mon Sep 17 00:00:00 2001 From: Andreas Ringlstetter Date: Tue, 5 Jan 2021 20:00:27 +0100 Subject: [PATCH] Fix inverted writeback condition --- src/gui/xaml/workshopproxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/xaml/workshopproxy.cpp b/src/gui/xaml/workshopproxy.cpp index e8d326add..88519ecb8 100644 --- a/src/gui/xaml/workshopproxy.cpp +++ b/src/gui/xaml/workshopproxy.cpp @@ -77,7 +77,7 @@ void WorkshopProxy::onUpdateInfo( const GuiWorkshopInfo& info ) void WorkshopProxy::setBasicOptions( unsigned int WorkshopID, QString name, int priority, bool suspended, bool acceptGenerated, bool autoCraftMissing, bool connectStockpile ) { - if( m_blockWriteBack ) + if( !m_blockWriteBack ) { emit signalSetBasicOptions( WorkshopID, name, priority, suspended, acceptGenerated, autoCraftMissing, connectStockpile ); }