2022-05-04 Fred Gleason <fredg@paravelsystems.com>

* Added an 'show_unchanged' argument to the constructor of the
	'RDGroupListModel' model.
	* Modified the 'Edit Cart' dialog in rdlibrary(1) so as to
	default the 'Group:' and 'Usage:' controls to '[unchanged]' when
	opened in multi-edit mode.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-05-04 14:02:17 -04:00
parent f37fe2db9f
commit 0a633f27e5
10 changed files with 48 additions and 30 deletions

View File

@@ -2,7 +2,7 @@
//
// Edit Rivendell System-Wide Configuration
//
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -148,7 +148,7 @@ EditSystem::EditSystem(QWidget *parent)
// Temporary Cart Group
//
edit_temp_cart_group_box=new RDComboBox(this);
edit_temp_cart_group_model=new RDGroupListModel(false,true,this);
edit_temp_cart_group_model=new RDGroupListModel(false,false,true,this);
edit_temp_cart_group_box->setModel(edit_temp_cart_group_model);
edit_temp_cart_group_label=new QLabel(tr("Temporary Cart Group:"),this);
edit_temp_cart_group_label->setFont(labelFont());