mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-21 07:13:06 +02:00
2022-12-06 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'RDCutDialog' that caused item selections to fail to be cleared when calling 'exec()' to start a new session. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
76c8ca80c7
commit
7882291cf6
@ -23750,3 +23750,6 @@
|
|||||||
feed items to be listed twice in the 'Podcast Item List' dialog.
|
feed items to be listed twice in the 'Podcast Item List' dialog.
|
||||||
* Fixed a bug in 'RDPodcastListModel' that broke item delete
|
* Fixed a bug in 'RDPodcastListModel' that broke item delete
|
||||||
notifications.
|
notifications.
|
||||||
|
2022-12-06 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed a bug in 'RDCutDialog' that caused item selections to fail
|
||||||
|
to be cleared when calling 'exec()' to start a new session.
|
||||||
|
@ -178,7 +178,10 @@ int RDCutDialog::exec(QString *cutname)
|
|||||||
cart_cutname=cutname;
|
cart_cutname=cutname;
|
||||||
cart_ok_button->setEnabled(false);
|
cart_ok_button->setEnabled(false);
|
||||||
|
|
||||||
if(cart_cutname!=NULL) {
|
if((cart_cutname==NULL)||(cart_cutname->isEmpty())) {
|
||||||
|
cart_cart_view->selectionModel()->clearSelection();
|
||||||
|
}
|
||||||
|
else {
|
||||||
QModelIndex index=cart_cart_model->cartRow(RDCut::cartNumber(*cutname));
|
QModelIndex index=cart_cart_model->cartRow(RDCut::cartNumber(*cutname));
|
||||||
if(index.isValid()) {
|
if(index.isValid()) {
|
||||||
cart_cart_view->setExpanded(index,true);
|
cart_cart_view->setExpanded(index,true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user