mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-09-16 16:30:26 +02:00
2016-07-13 Fred Gleason <fredg@paravelsystems.com>
* Made the 'Allow Cart Dragging' checkbox setting persistent across RDLibrary sessions in 'rdlibrary/rdlibrary.cpp'.
This commit is contained in:
parent
6c31c9e1d4
commit
26822841f5
@ -15294,3 +15294,6 @@
|
|||||||
2016-07-13 Fred Gleason <fredg@paravelsystems.com>
|
2016-07-13 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Fixed a bug in the 'RDCart::GetXmlValue()' method that caused
|
* Fixed a bug in the 'RDCart::GetXmlValue()' method that caused
|
||||||
XML field values not to be unescaped correctly.
|
XML field values not to be unescaped correctly.
|
||||||
|
2016-07-13 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Made the 'Allow Cart Dragging' checkbox setting persistent across
|
||||||
|
RDLibrary sessions in 'rdlibrary/rdlibrary.cpp'.
|
||||||
|
@ -239,10 +239,9 @@ MainWidget::MainWidget(QWidget *parent)
|
|||||||
//
|
//
|
||||||
// Filter
|
// Filter
|
||||||
//
|
//
|
||||||
lib_filter_edit=new QLineEdit(this,"filter_edit");
|
lib_filter_edit=new QLineEdit(this);
|
||||||
lib_filter_edit->setFont(default_font);
|
lib_filter_edit->setFont(default_font);
|
||||||
lib_filter_label=new QLabel(lib_filter_edit,tr("Filter:"),
|
lib_filter_label=new QLabel(lib_filter_edit,tr("Filter:"),this);
|
||||||
this,"filter_label");
|
|
||||||
lib_filter_label->setFont(button_font);
|
lib_filter_label->setFont(button_font);
|
||||||
lib_filter_label->setAlignment(AlignVCenter|AlignRight);
|
lib_filter_label->setAlignment(AlignVCenter|AlignRight);
|
||||||
connect(lib_filter_edit,SIGNAL(textChanged(const QString &)),
|
connect(lib_filter_edit,SIGNAL(textChanged(const QString &)),
|
||||||
@ -1418,6 +1417,8 @@ void MainWidget::LoadGeometry()
|
|||||||
profile->intValue("RDLibrary","Height",sizeHint().height()));
|
profile->intValue("RDLibrary","Height",sizeHint().height()));
|
||||||
lib_shownotes_box->
|
lib_shownotes_box->
|
||||||
setChecked(profile->boolValue("RDLibrary","ShowNoteBubbles",true));
|
setChecked(profile->boolValue("RDLibrary","ShowNoteBubbles",true));
|
||||||
|
lib_allowdrag_box->
|
||||||
|
setChecked(profile->boolValue("RDLibrary","AllowCartDragging",false));
|
||||||
|
|
||||||
delete profile;
|
delete profile;
|
||||||
}
|
}
|
||||||
@ -1443,8 +1444,8 @@ void MainWidget::SaveGeometry()
|
|||||||
else {
|
else {
|
||||||
fprintf(file,"No\n");
|
fprintf(file,"No\n");
|
||||||
}
|
}
|
||||||
fprintf(file,"LimitMatches=");
|
fprintf(file,"AllowCartDragging=");
|
||||||
if(lib_showmatches_box->isChecked()) {
|
if(lib_allowdrag_box->isChecked()) {
|
||||||
fprintf(file,"Yes\n");
|
fprintf(file,"Yes\n");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user