mirror of
https://github.com/tnodir/fort
synced 2024-11-15 08:56:22 +00:00
UI: ConfManagerRpc: Check flags for saving.
This commit is contained in:
parent
cf4929129d
commit
1005fbc692
@ -81,7 +81,8 @@ bool ConfManagerRpc::saveConf(FirewallConf &newConf)
|
||||
{
|
||||
newConf.prepareToSave();
|
||||
|
||||
const QVariant confVar = newConf.toVariant(true);
|
||||
const bool onlyFlags = !newConf.optEdited();
|
||||
const QVariant confVar = newConf.toVariant(onlyFlags);
|
||||
|
||||
setSaving(true);
|
||||
const bool ok = rpcManager()->doOnServer(Control::Rpc_ConfManager_save, { confVar });
|
||||
|
Loading…
Reference in New Issue
Block a user